Update replication configuration for new replication type 256)

Michael Spradling committed 2024-12-03 22:52:10 -05:00
1 parent bdc18edb4e
commit a6334674e7
1 file changed
+4 -1
+4 -1
@@ -91,7 +91,8 @@ Column | Meaning
**y** | number of replica in other racks in the same data center
**z** | number of replica in other servers in the same rack
Each digit in the replication string can have a value of 0, 1, or 2, representing the number of additional copies of the data to be maintained in the seaweed cluster beyond the original. Data remains readable as long as at least one replica is accessible. However, writes are permitted only if the number of replicas is achievable based on the configuration values. With these parameters, there are 27 possible replication configurations. Each configuration physically creates x+y+z+1 copies of the data volume.
The replication string represents the additional number of copies of data that will be maintained by the seaweed cluster beyond the original data volume. Data remains readable as long as at least on replica is accessible. However, writes are permitted only if the number of replicas is achievable based on the replication configuration string. The max value that can be specified is '255'. The total number of copies of this volume will be the sum of the digits + 1. The original data is not counted.
Here are some possible replication configuration examples and what they mean:
Value | Meaning
@@ -99,10 +100,12 @@ Value | Meaning
000 | no replication, just one copy
001 | replicate once on the same rack
010 | replicate once on a different rack in the same data center
052 | replicate to five different racks within the same data center and two different volumes within the same rack
100 | replicate once on a different data center
200 | replicate twice on two other different data center
110 | replicate once on a different rack within the same data center and once on a different data center
... | ...
255 | replicate twice on two different data centers, five different racks and 5 different volumes servers with respect to where the original volume exists.
## Allocate File Key on specific data center