Files
ebcd60f7d92c11bd176a9f4c05903d11d64353f1
swift /bin
Samuel Merritt ebcd60f7d9 Add a region tier to Swift's ring.
The region is one level above the zone; it is intended to represent a
chunk of machines that is distant from others with respect to
bandwidth and latency.
Old rings will default to having all their devices in region 1. Since
everything is in the same region by default, the ring builder will
simply distribute across zones as it did before, so your partition
assignment won't move because of this change. If you start adding
devices in other regions, of course, the assignment will change to
take that into account.
swift-ring-builder still accepts the same syntax as before, but will
default added devices to region 1 if no region is specified.
Examples:
$ swift-ring-builder foo.builder add r2z1-1.2.3.4:555/sda
$ swift-ring-builder foo.builder add r1z3-1.2.3.4:555/sda
$ swift-ring-builder foo.builder add z3-1.2.3.4:555/sda
Also, some updates to ring-overview doc.
Change-Id: Ifefbb839cdcf033e6c9201fadca95224c7303a29
2013年03月13日 10:00:58 -07:00
..
2013年02月24日 20:04:30 +08:00
2012年11月26日 18:15:21 -08:00
2013年02月22日 15:03:10 -08:00
2013年01月21日 18:12:17 +01:00
2012年11月26日 18:15:21 -08:00
2012年03月19日 13:45:34 -05:00
2012年11月26日 18:15:21 -08:00
2013年01月21日 18:12:17 +01:00
2012年03月19日 13:45:34 -05:00
2013年02月08日 20:19:48 +00:00
2012年05月24日 14:50:00 -05:00
2013年03月13日 10:00:58 -07:00