@Override public void uniqueIndexDrop(KernelStatement state, IndexDescriptor descriptor) throws DropIndexFailureException { state.locks().acquireExclusive(ResourceTypes.SCHEMA, schemaResource()); schemaWriteDelegate.uniqueIndexDrop(state, descriptor); }
@Override public void uniqueIndexDrop(KernelStatement state, IndexDescriptor descriptor) throws DropIndexFailureException { state.locks().acquireSchemaWriteLock(); schemaWriteDelegate.uniqueIndexDrop(state, descriptor); }