]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: period push succeeds even if it isn't a new period
authorCasey Bodley <cbodley@redhat.com>
Mon, 9 Nov 2015 16:21:49 +0000 (11:21 -0500)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:34 +0000 (16:13 -0800)
when pushing periods between zones, we need a successful result to
signal that we can stop sending the period

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_rest_realm.cc

index e988ca991da69f2e9bb5fe96eb27d9e64f51622f..d97671e83ca4344563d35968780f9851a5331b4a 100644 (file)
@@ -156,7 +156,6 @@ void RGWOp_Period_Post::execute()
     lderr(cct) << "period epoch " << period.get_epoch() << " is not newer "
         "than current epoch " << current_period.get_epoch()
         << ", discarding update" << dendl;
-    http_ret = -EEXIST; // XXX: error code
     return;
   }