Object replicator breaks when running object replicator with no objects on the server
Bug #767809 reported by
gholt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
High
|
gholt |
Bug Description
Adding the following eventlet.sleep seems to fix the problem (it seems spawning stuff and then killing it before it every gets any cycles causes problems):
def replicate(self):
"""Run a replication pass"""
self.start = time.time()
stats = eventlet.
try:
Related branches
lp:~gholt/swift/lp767809
- Swift Core security contacts: Pending requested
-
Diff: 11 lines (+1/-0)1 file modifiedswift/obj/replicator.py (+1/-0)
Changed in swift: | |
status: | Confirmed → In Progress |
Changed in swift: | |
status: | In Progress → Fix Committed |
Changed in swift: | |
milestone: | none → 1.4.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Workaround is to start the object replicator once there are some objects to replicate.