From 9422936d94ce5a8d76fa36626ca8365efaef1054 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Mon, 28 Sep 2015 14:25:44 -0700 Subject: [PATCH] rgw: no need to yield while collecting Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_data_sync.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rgw/rgw_data_sync.cc b/src/rgw/rgw_data_sync.cc index a8ebdf8e048ab..71872d75582d9 100644 --- a/src/rgw/rgw_data_sync.cc +++ b/src/rgw/rgw_data_sync.cc @@ -1239,7 +1239,6 @@ int RGWBucketShardFullSyncCR::operate() /* we should have reported this error */ #warning deal with error } - yield; } } } while (list_result.is_truncated); @@ -1363,7 +1362,6 @@ int RGWBucketShardIncrementalSyncCR::operate() /* we should have reported this error */ #warning deal with error } - yield; } } } while (!list_result.empty()); -- 2.39.5