Skip to content

Commit

Permalink
Merge pull request #15040 from tchaikov/wip-19902
Browse files Browse the repository at this point in the history
osd/PrimaryLogPG: do not call on_shutdown() if (pg.deleting)

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
tchaikov committed May 12, 2017
2 parents a4d4a9b + f3c44a0 commit e08283a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/osd/PrimaryLogPG.cc
Expand Up @@ -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()
Expand Down

0 comments on commit e08283a

Please sign in to comment.