Replicator bug in hash_suffix
Bug #670648 reported by
David Goetz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
David Goetz |
Bug Description
hash_suffix is removing items from a list while iterating over it. fix:
instead of:
for filename in files:
do something like:
for filename in files[:]:
Related branches
lp:~david-goetz/swift/replicator_unit_tests
- clayg: Approve
-
Diff: 533 lines (+301/-117)3 files modifiedswift/common/utils.py (+0/-1)
swift/obj/replicator.py (+37/-30)
test/unit/obj/test_replicator.py (+264/-86)
Changed in swift: | |
assignee: | nobody → David Goetz (david-goetz) |
Changed in swift: | |
status: | New → Fix Committed |
Changed in swift: | |
milestone: | none → 1.2.0 |
Changed in swift: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.