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>
(cherry picked from commit b8e62e6)
  • Loading branch information
neha-ojha committed Apr 17, 2019
1 parent 962969c commit 6add5f3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/osd/PG.cc
Expand Up @@ -4665,12 +4665,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 6add5f3

Please sign in to comment.