]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PGBackend: fix omap digest error message
authorSage Weil <sage@redhat.com>
Tue, 22 Dec 2015 22:19:45 +0000 (17:19 -0500)
committerSage Weil <sage@redhat.com>
Fri, 1 Jan 2016 18:07:27 +0000 (13:07 -0500)
Print the *omap* digest, not *data* digest.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PGBackend.cc

index 806a4a0a48733dacf9a6715f31710b4528cd1df8..b53166da2cfb9ca75432e9109bc798ea6caaf8f9 100644 (file)
@@ -650,9 +650,9 @@ void PGBackend::be_compare_scrubmaps(
          auth_oi.omap_digest != auth_object.omap_digest) {
        ++deep_errors;
        errorstream << pgid << " recorded omap digest 0x"
-                   << std::hex << auth_oi.data_digest << " != on disk 0x"
-                   << auth_object.digest << std::dec << " on " << auth_oi.soid
-                   << "\n";
+                   << std::hex << auth_oi.omap_digest << " != on disk 0x"
+                   << auth_object.omap_digest << std::dec
+                   << " on " << auth_oi.soid << "\n";
        if (repair)
          update = FORCE;
       }