Skip to content

Commit 9392c9e

Browse files
authored
Merge pull request ceph#62793 from BBoozmen/wip-oozmen-70270
rgw: metadata and data sync notification to retry upon any failure case Reviewed-by: Casey Bodley <[email protected]>
2 parents 49f7f29 + 766b7a1 commit 9392c9e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/rgw/driver/rados/rgw_data_sync.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2404,8 +2404,7 @@ class RGWDataSyncShardNotifyCR : public RGWCoroutine {
24042404
set_status("sync lock notification");
24052405
yield call(sync_env->bid_manager->notify_cr());
24062406
if (retcode < 0) {
2407-
tn->log(5, SSTR("ERROR: failed to notify bidding information" << retcode));
2408-
return set_cr_error(retcode);
2407+
tn->log(5, SSTR("ERROR: failed to notify bidding information retcode=" << retcode));
24092408
}
24102409

24112410
set_status("sleeping");

src/rgw/driver/rados/rgw_sync.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1996,8 +1996,7 @@ class RGWMetaSyncShardNotifyCR : public RGWCoroutine {
19961996
set_status("sync lock notification");
19971997
yield call(sync_env->bid_manager->notify_cr());
19981998
if (retcode < 0) {
1999-
tn->log(5, SSTR("ERROR: failed to notify bidding information" << retcode));
2000-
return set_cr_error(retcode);
1999+
tn->log(5, SSTR("ERROR: failed to notify bidding information retcode=" << retcode));
20012000
}
20022001

20032002
set_status("sleeping");

0 commit comments

Comments
 (0)