Skip to content

Commit

Permalink
osd: fix omap digest compare when scrub
Browse files Browse the repository at this point in the history
Introduce by fe1c28d.

Fixes: http://tracker.ceph.com/issues/16000
Signed-off-by: Xinze Chi <xinze@xsky.com>
  • Loading branch information
XinzeChi committed May 23, 2016
1 parent d56bdf9 commit d3eae0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osd/PGBackend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ void PGBackend::be_compare_scrubmaps(
}

if (auth_object.digest_present && auth_object.omap_digest_present &&
(!auth_oi.is_data_digest() || !auth_oi.is_omap_digest())) {
(!auth_oi.is_data_digest() || (!auth_oi.is_omap_digest() && auth_oi.is_omap()))) {
dout(20) << __func__ << " missing digest on " << *k << dendl;
update = MAYBE;
}
Expand Down

0 comments on commit d3eae0a

Please sign in to comment.