]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedBackend: fix failed push error output
authorSamuel Just <sam.just@inktank.com>
Sat, 26 Oct 2013 23:52:32 +0000 (16:52 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 28 Oct 2013 20:34:16 +0000 (13:34 -0700)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.cc

index 3aaf912d7e0583e15a38f94b27f8c7a63e83d9c4..50fd43df7357c4e324060d29628df1c7120c53db 100644 (file)
@@ -6558,6 +6558,7 @@ int ReplicatedBackend::build_push_op(const ObjectRecoveryInfo &recovery_info,
     if (oi.version != recovery_info.version) {
       osd->clog.error() << get_info().pgid << " push "
                        << recovery_info.soid << " v "
+                       << recovery_info.version
                        << " failed because local copy is "
                        << oi.version << "\n";
       return -EINVAL;