update replicate worker to use internal queues.
commit88163a289a0e902c5fd8248e2a92d885f5a12a2d
authordormando <dormando@f67b2e87-0811-0410-a7e0-dd94e48410d6>
Sat, 3 Jan 2009 00:43:12 +0000 (3 00:43 +0000)
committerdormando <dormando@f67b2e87-0811-0410-a7e0-dd94e48410d6>
Sat, 3 Jan 2009 00:43:12 +0000 (3 00:43 +0000)
treec73bf4d85f2f6b48b84942b87e7d35f9b932d92b
parent6c23c9d3395958d5b6b7f39433012fdf0b53a8b8
update replicate worker to use internal queues.

this is awesome. removes the mass-broadcast, is a small change, and makes
replication go way faster and use way fewer DB resources.

drain/rebalance need to be rewritten to work in this model.

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