Merge pull request #52090 from xxhdx1985126/wip-fixedkv-btree-merge-fix

crimson/os/seastore/btree: should add left's size when merging levels…

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
This commit is contained in:
Yingxin 2023-06-28 12:53:06 +08:00 committed by GitHub
commit 2c617c35d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2044,7 +2044,7 @@ private:
pos.node = replacement;
if (donor_is_left) {
pos.pos += r->get_size();
pos.pos += l->get_size();
parent_pos.pos--;
}