the clearAllNodesBufferIndexOperation doesn't change the tree structure, so it's safe to use the readLock