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:
Kefu Chai 2017-05-12 19:36:02 +08:00 committed by GitHub
commit e08283a970

View File

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