This is a complementary fix to the earlier one described at #62156.
When the sync shard notification fails due to any failures including timeout,
this change keeps the loop going for both metadata and data sync.
Fixes https://tracker.ceph.com/issues/70270
Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
(cherry picked from commit
766b7a14315ae7ca9645b462ee774570caeff64c)
set_status("sync lock notification");
yield call(sync_env->bid_manager->notify_cr());
if (retcode < 0) {
- tn->log(5, SSTR("ERROR: failed to notify bidding information" << retcode));
- return set_cr_error(retcode);
+ tn->log(5, SSTR("ERROR: failed to notify bidding information retcode=" << retcode));
}
set_status("sleeping");
set_status("sync lock notification");
yield call(sync_env->bid_manager->notify_cr());
if (retcode < 0) {
- tn->log(5, SSTR("ERROR: failed to notify bidding information" << retcode));
- return set_cr_error(retcode);
+ tn->log(5, SSTR("ERROR: failed to notify bidding information retcode=" << retcode));
}
set_status("sleeping");