Rebalance to repair overreplication errors.
commitfebde10b74f6aaa08dda1326c7084d141b4078c1
authordormando <dormando@f67b2e87-0811-0410-a7e0-dd94e48410d6>
Wed, 25 Nov 2009 07:43:08 +0000 (25 07:43 +0000)
committerdormando <dormando@f67b2e87-0811-0410-a7e0-dd94e48410d6>
Wed, 25 Nov 2009 07:43:08 +0000 (25 07:43 +0000)
tree19835453ace9871dde29aa51e00a74210425ebcd
parentecb11df2508016f30d0221fa66d87601aff3b67f
Rebalance to repair overreplication errors.

If a fid is "too happy" (has too many copies), randomly rebalance
the devs until it's happy. This may momentarily make a fid unhappy
with its replication policy, but it will fix itself eventually.

git-svn-id: http://code.sixapart.com/svn/mogilefs/trunk@1368 f67b2e87-0811-0410-a7e0-dd94e48410d6
CHANGES
lib/MogileFS/ReplicationPolicy/MultipleHosts.pm
lib/MogileFS/Worker/Replicate.pm