]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG::_rollback_to: fix comment, clone certainly could be missing
authorSamuel Just <sam.just@inktank.com>
Fri, 11 Apr 2014 00:18:32 +0000 (17:18 -0700)
committerSamuel Just <sam.just@inktank.com>
Mon, 14 Apr 2014 23:55:16 +0000 (16:55 -0700)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.cc

index cb3eb5abc3ac6364c2def7f3e262cd9945acd21a..d061729fc56e9beebb65c1466893312302df7129 100644 (file)
@@ -4565,9 +4565,7 @@ int ReplicatedPG::_rollback_to(OpContext *ctx, ceph_osd_op& op)
              soid.get_namespace()),
     &rollback_to, false, &missing_oid);
   if (ret == -EAGAIN) {
-    /* a different problem, like degraded pool
-     * with not-yet-restored object. We shouldn't have been able
-     * to get here; recovery should have completed first! */
+    /* clone must be missing */
     assert(is_missing_object(missing_oid));
     dout(20) << "_rollback_to attempted to roll back to a missing object "
             << missing_oid << " (requested snapid: ) " << snapid << dendl;