Merge lp:~gholt/swift/lp767809 into lp:~hudson-openstack/swift/trunk

Proposed by gholt
Status: Merged
Approved by: David Goetz
Approved revision: 284
Merged at revision: 284
Proposed branch: lp:~gholt/swift/lp767809
Merge into: lp:~hudson-openstack/swift/trunk
Diff against target: 11 lines (+1/-0)
1 file modified
swift/obj/replicator.py (+1/-0)
To merge this branch: bzr merge lp:~gholt/swift/lp767809
Reviewer Review Type Date Requested Status
Swift Core security contacts Pending
Review via email: mp+58591@code.launchpad.net

Description of the change

Fix for Object replicator breaks when running object replicator with no objects on the server

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'swift/obj/replicator.py'
2--- swift/obj/replicator.py 2011-04-14 20:55:03 +0000
3+++ swift/obj/replicator.py 2011-04-20 22:45:16 +0000
4@@ -509,6 +509,7 @@
5 self.partition_times = []
6 stats = eventlet.spawn(self.heartbeat)
7 lockup_detector = eventlet.spawn(self.detect_lockups)
8+ eventlet.sleep() # Give spawns a cycle
9 try:
10 self.run_pool = GreenPool(size=self.concurrency)
11 jobs = self.collect_jobs()