Skip to content

Commit

Permalink
osd/PG: change error to dout in _scan_rollback_obs()
Browse files Browse the repository at this point in the history
This message is now expected during scrubbing, since we do not delete
objects during a rollforward when !transaction_applied.

Signed-off-by: Neha Ojha <nojha@redhat.com>
  • Loading branch information
neha-ojha committed Mar 15, 2019
1 parent 17419ee commit b8e62e6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/osd/PG.cc
Expand Up @@ -4589,12 +4589,12 @@ void PG::_scan_rollback_obs(const vector<ghobject_t> &rollback_obs)
i != rollback_obs.end();
++i) {
if (i->generation < trimmed_to.version) {
osd->clog->error() << "osd." << osd->whoami
<< " pg " << info.pgid
<< " found obsolete rollback obj "
<< *i << " generation < trimmed_to "
<< trimmed_to
<< "...repaired";
dout(10) << __func__ << "osd." << osd->whoami
<< " pg " << info.pgid
<< " found obsolete rollback obj "
<< *i << " generation < trimmed_to "
<< trimmed_to
<< "...repaired" << dendl;
t.remove(coll, *i);
}
}
Expand Down

0 comments on commit b8e62e6

Please sign in to comment.