The bucket-instance level sync (RGWDataSyncSingleEntryCR) excludes EBUSY and
EAGAIN from the sync error log as these are meant to be transient errors that
resolve on retry without an admin intervention.
Also, add EBUSY and EAGAIN to ignore_sync_error(), which is used by the
per-object level sync in RGWSyncObjectCR, to match the bucket-instance
level behavior.
Fixes: https://tracker.ceph.com/issues/76950
Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
switch (err) {
case -ENOENT:
case -EPERM:
+ case -EBUSY:
+ case -EAGAIN:
return true;
default:
break;