Samuel Merritt e994d033a6 Refactor partition gathering.
RingBuilder._reassign_parts() is really moving one (partition,
replica) pair at a time. However, the way that _gather_reassign_parts
passes that data in was strange; it would update each replica's entry
in _replica2part2dev to 0xffff, then return a list of affected
partitions. Now it just returns the pairs to move.

This is helpful in the presence of bugs that affect partition
assignment (e.g. #943493), there's no chance of stray 0xffff values
hanging around and corrupting the partition map.

Also, update my email address.

Change-Id: Ifb3aeb4fac750f66e2ddbad88eb5846e72bac20c
2012-03-06 10:17:03 -08:00
..
2012-01-04 14:53:53 +08:00
2011-06-16 22:05:03 +00:00
2012-03-06 10:17:03 -08:00