mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
crimson/osd/pg: on_removal to assert empty log_entry map
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
This commit is contained in:
parent
b44c41f08c
commit
0f99cdc81e
@ -309,7 +309,7 @@ unsigned PG::get_target_pg_log_entries() const
|
||||
}
|
||||
|
||||
void PG::on_removal(ceph::os::Transaction &t) {
|
||||
clear_log_entry_maps();
|
||||
ceph_assert(log_entry_update_waiting_on.empty());
|
||||
t.register_on_commit(
|
||||
new LambdaContext(
|
||||
[this](int r) {
|
||||
|
Loading…
Reference in New Issue
Block a user