mirror of
https://github.com/facebook/rocksdb.git
synced 2026-07-07 14:47:40 +08:00
4026c3cc08
Summary: Fixed a bug where the range lock manager would crash with an assertion failure when using a reverse comparator column family. The CompareDbtEndpoints function used bytewise ordering for length-disparity comparisons, ignoring the user comparator direction. Pull Request resolved: https://github.com/facebook/rocksdb/pull/14831 Test Plan: - Added unit test RangeLockWithReverseComparator - Ran make check (4552 tests, 0 failures) - Verified range_locking_test passes (9/9) Reviewed By: xingbowang Differential Revision: D107880089 Pulled By: laurynas-biveinis fbshipit-source-id: 77f2f2f58197ab5104d4e42f005b0aab1132f1bb