Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

push/rebanance/repush this ring

When I added a new zone to my existing swift cluster with

swift-ring-builder account.builder add r1z4-192.168.1.22:6002/sdb1 100
swift-ring-builder container.builder add r1z4-192.168.1.22:6001/sdb1 100
swift-ring-builder object.builder add r1z4-192.168.1.22:6000/sdb1 100

then I did

swift-ring-builder account.builder rebalance
swift-ring-builder container.builder rebalance
swift-ring-builder object.builder rebalance

I got the following messages:

Reassigned 1024 (100%) partitions. Balance is now 2193
Note: Balance of 2193 indicates you should push this ring, wait at least 1 hour, and rebalance/repush

what does the above mean?

Does mean I have to first copy the ring to the all the storage nodes including the new one 192.168.1.22 first, and wait for one hour, and copy the new ring to all the nodes again? then rebalance and then copy the new ring files to

click to hide/show revision 2
No.2 Revision

push/rebanance/repush push/rebalance/repush this ring

When I added a new zone to my existing swift cluster with

swift-ring-builder account.builder add r1z4-192.168.1.22:6002/sdb1 100
swift-ring-builder container.builder add r1z4-192.168.1.22:6001/sdb1 100
swift-ring-builder object.builder add r1z4-192.168.1.22:6000/sdb1 100

then I did

swift-ring-builder account.builder rebalance
swift-ring-builder container.builder rebalance
swift-ring-builder object.builder rebalance

I got the following messages:

Reassigned 1024 (100%) partitions. Balance is now 2193
Note: Balance of 2193 indicates you should push this ring, wait at least 1 hour, and rebalance/repush

what does the above mean?

Does mean I have to first copy the ring to the all the storage nodes including the new one 192.168.1.22 first, and wait for one hour, and copy the new ring to all the nodes again? then rebalance and then copy the new ring files to