mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Ensure that only one node performs site replication healing (#15584)
When a node finds a change in the other replication cluster and applies to itself will already notify other peers. No need for all nodes in a given cluster to do site replication healing, only one node is sufficient.
This commit is contained in:
@@ -335,7 +335,7 @@ kill -9 ${site1_pid}
|
||||
./mc rb minio2/bucket2
|
||||
# Restart minio1 instance
|
||||
minio server --config-dir /tmp/minio-internal --address ":9001" /tmp/minio-internal-idp1/{1...4} >/tmp/minio1_1.log 2>&1 &
|
||||
sleep 30
|
||||
sleep 40
|
||||
|
||||
# Test whether most recent tag update on minio2 is replicated to minio1
|
||||
val=$(./mc tag list minio1/newbucket --json | jq -r .tagset | jq -r .key )
|
||||
|
||||
Reference in New Issue
Block a user