Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kv: remove obsolete TODO in maybeAcquireSnapshotMergeLock
The TODO discussed a merge followed by a split and alluded to an optimization that could be used to avoid a snapshot. This doesn't make sense to me. I think that's because the comment was written back in a time where a range merged into and then back out of its left hand neighbor would be the same range with the same ID. This is not the case anymore, so I don't see how we could ever (reasonably) avoid a snapshot in such a case.
- Loading branch information