From edda6f74421dbd6a391d22f5c3dc7866e6afc036 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Thu, 10 Apr 2014 17:18:32 -0700 Subject: [PATCH] ReplicatedPG::_rollback_to: fix comment, clone certainly could be missing Signed-off-by: Samuel Just --- src/osd/ReplicatedPG.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index cb3eb5abc3ac6..d061729fc56e9 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -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; -- 2.39.5