Looks like the output of swift-ring-builder test.builder list_parts is wrong; using your example builder file and the following python code I see 512 partitions for every replica:
from swift.common.ring.builder import RingBuilder
rb = RingBuilder.load('test.builder')
for replica in rb._replica2part2dev:
print len(replica)
Looking into the swift-ring-builder list_parts code.
Looks like the output of swift-ring-builder test.builder list_parts is wrong; using your example builder file and the following python code I see 512 partitions for every replica:
from swift.common. ring.builder import RingBuilder load('test. builder' ) t2dev:
rb = RingBuilder.
for replica in rb._replica2par
print len(replica)
Looking into the swift-ring-builder list_parts code.