We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b06a57 commit 2d5715cCopy full SHA for 2d5715c
src/crimson/os/seastore/btree/fixed_kv_node.h
@@ -148,7 +148,7 @@ struct FixedKVNode : ChildableCachedExtent {
148
ceph_assert(iter != copy_dests_by_trans.end());
149
auto ©_dests = static_cast<copy_dests_t&>(*iter);
150
auto it = copy_dests.dests_by_key.lower_bound(key);
151
- if ((*it)->range.begin > key) {
+ if (it == copy_dests.dests_by_key.end() || (*it)->range.begin > key) {
152
ceph_assert(it != copy_dests.dests_by_key.begin());
153
--it;
154
}
0 commit comments