Skip to content

Commit 8b37bb0

Browse files
committed
crimson/os/seastore/../fixed_kv_btree: get_stable_for_key() is called when the node is pending
Signed-off-by: Yingxin Cheng <[email protected]>
1 parent c53b971 commit 8b37bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crimson/os/seastore/btree/fixed_kv_btree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ class FixedKVBtree {
509509
auto &prior = (child_node_t &)*child_node->get_prior_instance();
510510
assert(prior.is_valid());
511511
assert(prior.is_parent_valid());
512-
if (node->is_mutation_pending()) {
512+
if (node->is_pending()) {
513513
auto &n = node->get_stable_for_key(i->get_key());
514514
assert(prior.peek_parent_node().get() == &n);
515515
auto pos = n.lower_bound(i->get_key()).get_offset();

0 commit comments

Comments
 (0)