Skip to content

Instantly share code, notes, and snippets.

@corywright
Created September 10, 2020 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corywright/d89a93bf21de3773ee9ade39d8c324fc to your computer and use it in GitHub Desktop.
Save corywright/d89a93bf21de3773ee9ade39d8c324fc to your computer and use it in GitHub Desktop.
# small test cluster with 4 servers, each with 3 object disks.
# we use a separate replication network, with servers_per_port do replication ports still matter?
# re: https://bugs.launchpad.net/swift/+bug/1669579
# current object ring without servers_per_port
Devices: id region zone ip address:port replication ip:port name weight partitions balance flags meta
0 144 1 10.144.206.190:6200 10.144.216.190:6300 sdb 100.00 8215 0.28
1 144 1 10.144.206.190:6200 10.144.216.190:6300 sdc 100.00 8215 0.28
2 144 1 10.144.206.190:6200 10.144.216.190:6300 sdd 100.00 8216 0.29
3 144 2 10.144.206.191:6200 10.144.216.191:6300 sdb 100.00 8216 0.29
4 144 2 10.144.206.191:6200 10.144.216.191:6300 sdc 100.00 8215 0.28
5 144 2 10.144.206.191:6200 10.144.216.191:6300 sdd 100.00 8216 0.29
6 144 3 10.144.206.192:6200 10.144.216.192:6300 sdb 100.00 8192 0.00
7 144 3 10.144.206.192:6200 10.144.216.192:6300 sdc 100.00 7981 -2.58
8 144 3 10.144.206.192:6200 10.144.216.192:6300 sdd 100.00 8192 0.00
9 144 4 10.144.206.193:6200 10.144.216.193:6300 sdb 100.00 8215 0.28
10 144 4 10.144.206.193:6200 10.144.216.193:6300 sdc 100.00 8216 0.29
11 144 4 10.144.206.193:6200 10.144.216.193:6300 sdd 100.00 8215 0.28
# object ring after servers_per_port?
Devices: id region zone ip address:port replication ip:port name weight partitions balance flags meta
0 144 1 10.144.206.190:6200 10.144.216.190:6300 sdb 100.00 8215 0.28
1 144 1 10.144.206.190:6201 10.144.216.190:6301 sdc 100.00 8215 0.28
2 144 1 10.144.206.190:6202 10.144.216.190:6302 sdd 100.00 8216 0.29
3 144 2 10.144.206.191:6200 10.144.216.191:6300 sdb 100.00 8216 0.29
4 144 2 10.144.206.191:6201 10.144.216.191:6301 sdc 100.00 8215 0.28
5 144 2 10.144.206.191:6202 10.144.216.191:6302 sdd 100.00 8216 0.29
6 144 3 10.144.206.192:6200 10.144.216.192:6300 sdb 100.00 8192 0.00
7 144 3 10.144.206.192:6201 10.144.216.192:6301 sdc 100.00 7981 -2.58
8 144 3 10.144.206.192:6202 10.144.216.192:6302 sdd 100.00 8192 0.00
9 144 4 10.144.206.193:6200 10.144.216.193:6300 sdb 100.00 8215 0.28
10 144 4 10.144.206.193:6201 10.144.216.193:6301 sdc 100.00 8216 0.29
11 144 4 10.144.206.193:6202 10.144.216.193:6302 sdd 100.00 8215 0.28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment