Skip to content

Commit

Permalink
Merge pull request #9271: osd: fix omap digest compare when scrub
Browse files Browse the repository at this point in the history
Reviewed-by: Nathan Cutler <ncutler@suse.com>
  • Loading branch information
smithfarm committed Jul 24, 2016
2 parents b0a82af + d3eae0a commit e89efc6
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 e89efc6

Please sign in to comment.