⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
rgw
All Projects
Ceph
»
rgw
Overview
Activity
Roadmap
Issues
Spent time
Gantt
Download (961 Bytes)
Bug #50892
ยป diff.txt
ren weiguo
, 05/20/2021 06:16 AM
git diff 221e3e01c74f522986ac92ec35b3f60eeaabe0bf
diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc
index bf3eae6..7995b59 100644
--- a/src/rgw/rgw_rados.cc
+++ b/src/rgw/rgw_rados.cc
@@ -3155,7 +3155,7 @@ int RGWRados::Object::Write::_do_write_meta(const DoutPrefixProvider *dpp,
}
auto& ioctx = ref.pool.ioctx();
-
+ sleep(5);
tracepoint(rgw_rados, operate_enter, req_id.c_str());
r = rgw_rados_operate(ref.pool.ioctx(), ref.obj.oid, &op, null_yield);
tracepoint(rgw_rados, operate_exit, req_id.c_str());
@@ -8887,7 +8887,7 @@ int RGWRados::check_disk_state(const DoutPrefixProvider *dpp,
int r = get_obj_state(dpp, &rctx, bucket_info, obj, &astate, false, y);
if (r < 0)
return r;
-
+ sleep(5);
list_state.pending_map.clear(); // we don't need this and it inflates size
if (!list_state.is_delete_marker() && !astate->exists) {
/* object doesn't exist right now -- hopefully because it's
(1-1/1)
Loading...