Bug #75010
openrgw-multisite: fix data full sync error repo writes
0%
Description
this bug was found by downstream QE. when data full sync is in progress and if there are failures like -EBUSY, -EIO etc., sync silently fails and status shows as caught up.
cause:
both full sync and incremental sync errors are expected to be retried in error repos, but since the full sync entries don't come with a valid timestamp, writing to error repo is skipped in https://github.com/ceph/ceph/blob/main/src/rgw/driver/rados/rgw_data_sync.cc#L1522.
reproducer:
1. configure single site, create bucket and upload objects
2. configure multisite and add a new zone. this starts a full sync.
3. while full sync is in progress, restart primary radosgw
4. this results in -EBUSY errors in the logs on secondary zone.
5. after some time, sync status shows caught up but the objects are missing on secondary.
KS Updated by Konstantin Shalygin 8 months ago
- Backport changed from reef squid tentacle to squid tentacle