Add support for existing object replication. (#12109)

Also adding an API to allow resyncing replication when
existing object replication is enabled and the remote target
is entirely lost. With the `mc replicate reset` command, the
objects that are eligible for replication as per the replication
config will be resynced to target if existing object replication
is enabled on the rule.
This commit is contained in:
Poorna Krishnamoorthy authored and GitHub committed 2021-06-01 19:59:11 -07:00
1 parent 1f262daf6f
commit dbea8d2ee0
19 files changed
+928 -334

No files matched your search

+3
View File
@@ -170,6 +170,9 @@ const (
MinIOSourceProxyRequest = "X-Minio-Source-Proxy-Request"
// Header indicates that this request is a replication request to create a REPLICA
MinIOSourceReplicationRequest = "X-Minio-Source-Replication-Request"
// Header indicates replication reset status.
MinIOReplicationResetStatus = "X-Minio-Replication-Reset-Status"
// predicted date/time of transition
MinIOTransition = "X-Minio-Transition"
)