for (String indexName : involvedIndexes) {
final OIndexMVRBTreeAbstract index = (OIndexMVRBTreeAbstract) getMetadata().getIndexManager().getIndexInternal(indexName);
if (lockedIndexes == null)
lockedIndexes = new ArrayList<OIndexMVRBTreeAbstract>();
index.acquireExclusiveLock();
lockedIndexes.add(index);
}
getStorage().commit(currentTx);