Skip to content

Commit

Permalink
Merge pull request #9271 from XinzeChi/wip-fix-digest-hammer
Browse files Browse the repository at this point in the history
osd: fix omap digest compare when scrub

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
  • Loading branch information
smithfarm committed Aug 4, 2016
2 parents 4a12a88 + d3eae0a commit da4f735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osd/PGBackend.cc
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 da4f735

Please sign in to comment.