]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/../fixed_kv_btree: get_stable_for_key() is called when the node...
authorYingxin Cheng <yingxin.cheng@intel.com>
Wed, 21 May 2025 03:20:03 +0000 (11:20 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 4 Jun 2025 02:17:52 +0000 (10:17 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/btree/fixed_kv_btree.h

index 66c28c795157d6c5b0307835e52a721a6fcf635a..ab12ab3ee6aeb1654e02d4f66c29b3cdda7e5c31 100644 (file)
@@ -509,7 +509,7 @@ public:
             auto &prior = (child_node_t &)*child_node->get_prior_instance();
             assert(prior.is_valid());
             assert(prior.is_parent_valid());
-            if (node->is_mutation_pending()) {
+            if (node->is_pending()) {
               auto &n = node->get_stable_for_key(i->get_key());
               assert(prior.peek_parent_node().get() == &n);
               auto pos = n.lower_bound(i->get_key()).get_offset();