crimson/osd/pg: on_removal to assert empty log_entry map

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
This commit is contained in:
Matan Breizman 2023-11-30 14:57:06 +00:00
parent b44c41f08c
commit 0f99cdc81e

View File

@ -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) {