1
0
mirror of https://github.com/ceph/ceph synced 2025-04-01 14:51:13 +00:00

Merge pull request from tianshan/fix_http_err_return

rgw: set cr state if aio_read err return in RGWCloneMetaLogCoroutine

Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Casey Bodley 2018-07-05 09:48:57 -04:00 committed by GitHub
commit 3c6797c974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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);