Message ID | CABbLZY0Zn0hH5r6VPaZ52ZEJS4xy99cuF_ZmZkfH5DT2Fs1DbQ@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
========================== diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index aae6372..0ecf842 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -5403,6 +5403,12 @@ void RGWCompleteMultipart::execute() if (op_ret < 0) return; + if (g_conf->rgw_introduce_latency) { + dout(0) << __func__ << "sleeping for 5 secs" << dendl; + sleep(5); + } + + // remove the upload obj int r = store->delete_obj(*static_cast<RGWObjectCtx *>(s->obj_ctx), s->bucket_info, meta_obj, 0);