Dear All
We have the same question here, if anyone can help ... Thank you!
We did not find any documentation about the steps to reset & restart the sync.
Especially the implications of 'bilog trim', 'mdlog trim' and 'datalog trim'.
Our secondary zone is read-only. Both master and secondary zone on Nautilus (master 14.2.9 and secondary 14.2.12).
Can someone also clarify following points? Many thanks in advance!
1) Is it safe to use these 3 commands (bilog trim, mdlog trim, datalog trim) on the master ?
Are the bi logs exclusively used for the sync or are they needed even without multi-site? (mdlog/datalog are obviously only for multi-site)
2) Can we run these 3 commands during the sync or do we need first to stop all instances on the secondary zone ?
In the latter case, do we need to stop the client traffic and wait on md/data sync to catch up prior to stop the secondary zone instances?
3) Can we then restart the instances on the secondary zone and expect rgw sync to run correctly ?
Or do we need first to run 'metadata sync init' and 'data sync init' on the secondary zone ? (to trigger a full sync)
Or is it necessary to delete all rgw pools on the secondary zone ?
4) And regarding the full sync, is it verifying the full object data, or only object size and mtime?
If we update the secondary zone to Nautilus 14.2.18 and enable rgw_sync_obj_etag_verify,
does a full sync will also detect ETag mismatches on objects that are already present on the secondary zone?
Cheers
Francois