mc table replicate resync open
The mc table replicate resync open command opens the post-failover resync window on the new replica.
This is phase one of the post-failover catalog resync. Run it against the site you are demoting to be the new replica, which is the old primary. The command opens a resync window so site replication from the new primary can copy objects onto this site: inbound warehouse-bucket replication is permitted again, while client writes are still rejected as on a replica. The catalog is left untouched in this phase.
After this command, trigger a site replication resync from the new primary with mc admin replicate resync start.
Pass the new primary’s alias first and this site’s alias second, and monitor progress with mc admin replicate resync status before rebuilding:
mc admin replicate resync start NEWPRIMARY myoldprimary
mc admin replicate resync status NEWPRIMARY myoldprimary
Once the resync completes, run mc table replicate resync rebuild to rebuild the catalog.
See Site Replication and Disaster Recovery for the full workflow.
Parameters
ALIAS
Required
The alias of the old primary MinIO AIStor cluster to demote.
Global flags
This command supports any of the global flags.
Examples
Open the resync window on the old primary
mc table replicate resync open myoldprimary