]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: set cr state if aio_read err return in RGWCloneMetaLogCoroutine
authorTianshan Qu <tianshan@xsky.com>
Tue, 19 Jun 2018 05:31:17 +0000 (13:31 +0800)
committerTianshan Qu <tianshan@xsky.com>
Tue, 19 Jun 2018 05:33:57 +0000 (13:33 +0800)
fixes: http://tracker.ceph.com/issues/24566

Signed-off-by: Tianshan Qu <tianshan@xsky.com>
src/rgw/rgw_sync.cc

index eb199acf9b9cbf22f68ca1addf908d9b31c8d451..17ac58ca9ec6a13964a029b9c76c71c9061f9528 100644 (file)
@@ -2371,7 +2371,7 @@ int RGWCloneMetaLogCoroutine::state_send_rest_request()
     log_error() << "failed to send http operation: " << http_op->to_str() << " ret=" << ret << std::endl;
     http_op->put();
     http_op = NULL;
-    return ret;
+    return set_cr_error(ret);
   }
 
   return io_block(0);