Hello Cephers,
I am wondering whether it is possible to get the number of objects that are not
synced yet in a multi site radosgw configuration. "radosgw-admin sync status”
gives the number of shards that are behind. Similarly “radosgw-admin bucket
sync status —bucket {bucket_name}” also gives the status of the shards belong
to the given bucket.
I just want to get the number of objects that are not synced yet. The only way
I found is to get bucket stats from each zone and compare the number of
objects. While one of the zone the following output (only related part),
"usage": {
"rgw.main": {
"size": 20896350288253,
"size_actual": 22604324229120,
"size_utilized": 20896350288253,
"size_kb": 20406592079,
"size_kb_actual": 22074535380,
"size_kb_utilized": 20406592079,
"num_objects": 749099512
}
},
the other zone gives the output below.
"usage": {
"rgw.main": {
"size": 20896350967086,
"size_actual": 22604325040128,
"size_utilized": 20896350967086,
"size_kb": 20406592742,
"size_kb_actual": 22074536172,
"size_kb_utilized": 20406592742,
"num_objects": 749099571
}
},
I look for the difference of number of objects between two zones ( 749099571 -
749099512 = 59 objects). But I am not sure about these stats that they provide
the number of objects that are already synced and related to its own zone. The
metadata of the multisite radosgw is hold on the master zone. Does anybody
clarify that the number of objects on the bucket stats query belongs to every
zone’s own bucket or multi site shared metadata? I have doubts that the
difference between the bucket stats output from each zone may be a result of
command’s execution time.
Any clue will be appreciated.
Best regards,
Huseyin Cotuk
[email protected]
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]