Bug #21591
closedRGW multisite does not sync all objects
0%
Description
I setup a multisite sync between 2 luminous clusters. The clusters were deployed with ceph-ansible. The Sync seemed to work fine in both directions when I tested with some bucket operations and small objects. However, when I really started using it as storage for a docker registry, I noticed not all objects seem to sync correctly.
master zone:
- s3cmd --config s3cfg_s3_bccl_tda du s3://tda-registry
9090457213 1120 objects s3://tda-registry/
secondary zone:
- s3cmd --config s3cfg_s3_bccm_tda du s3://tda-registry
851591006 943 objects s3://tda-registry/
Altough the buckets are clearly not in sync, the sync status keeps reporting everything is fine and caught up with the source:
master zone:
realm 0f33e8d4-825c-464b-90c5-87a44d99f6fc (tda)
zonegroup 5ce69d1a-097d-4ef7-ae0f-6f356f76de0c (be)
zone 6c82776a-a9c0-46ba-b89a-500958e65b15 (bccl-tda)
metadata sync no sync (zone is master)
data sync source: 2c7a4a95-1922-49fb-bf5f-f550309d611d (bccm-tda)
syncing
full sync: 0/128 shards
incremental sync: 128/128 shards
data is caught up with source
secondary zone:
realm 0f33e8d4-825c-464b-90c5-87a44d99f6fc (tda)
zonegroup 5ce69d1a-097d-4ef7-ae0f-6f356f76de0c (be)
zone 2c7a4a95-1922-49fb-bf5f-f550309d611d (bccm-tda)
metadata sync syncing
full sync: 0/64 shards
incremental sync: 64/64 shards
metadata is caught up with master
data sync source: 6c82776a-a9c0-46ba-b89a-500958e65b15 (bccl-tda)
syncing
full sync: 0/128 shards
incremental sync: 128/128 shards
data is caught up with source
When I push some more containers to the registry that is using this bucket, it seems the sync is indeed still working, but some objects seem to be ignored:
master:- s3cmd --config s3cfg_s3_bccl_tda du s3://tda-registry
9585013621 1206 objects s3://tda-registry/
- s3cmd --config s3cfg_s3_bccm_tda du s3://tda-registry
960073106 1025 objects s3://tda-registry/
Judging by the size of the bucket, it looks to me the larger objects are not synced.
When I disable and re-enable the sync on this bucket, the buckets get in sync again. Sometimes I need to disable/enable the sync 2 or 3 times to have all objects in sync.
Any pointers are greatly appreciated.
Files