]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore: handle duplicate keys in LogNode::remove_entry 64439/head
authormyoungwon oh <ohmyoungwon@gmail.com>
Sat, 7 Mar 2026 11:38:53 +0000 (20:38 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Tue, 17 Mar 2026 08:38:23 +0000 (17:38 +0900)
commit2ca14b2551b35e4b62335e38a869472159bcb450
tree26ae85b3d1b8c8e236c115fc9acba252256b4c67
parentc1e473d4c7844570264da7cd06712fe4c6fe8bf8
crimson/os/seastore: handle duplicate keys in LogNode::remove_entry

Previously, LogNode::remove_entry returned early when a log_key was
found, assuming uniqueness. However, duplicate keys can exist in the
node if an older entry was previously removed.
This commit also adds a unit test to verify this scenario.

Signed-off-by: Myoungwon Oh <ohmyoungwon@gmail.com>
src/crimson/os/seastore/omap_manager/log/log_node.cc
src/test/crimson/seastore/test_seastore.cc