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