mirror of
https://github.com/ceph/ceph
synced 2024-12-18 09:25:49 +00:00
Merge pull request #15040 from tchaikov/wip-19902
osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting) Reviewed-by: Brad Hubbard <bhubbard@redhat.com> Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
e08283a970
@ -10418,7 +10418,8 @@ void PrimaryLogPG::on_removal(ObjectStore::Transaction *t)
|
||||
|
||||
write_if_dirty(*t);
|
||||
|
||||
on_shutdown();
|
||||
if (!deleting)
|
||||
on_shutdown();
|
||||
}
|
||||
|
||||
void PrimaryLogPG::on_shutdown()
|
||||
|
Loading…
Reference in New Issue
Block a user