Merge lp:~gholt/swift/walt into lp:~david-goetz/swift/walt

Proposed by gholt
Status: Merged
Merged at revision: 208
Proposed branch: lp:~gholt/swift/walt
Merge into: lp:~david-goetz/swift/walt
Diff against target: 19 lines (+2/-0)
1 file modified
bin/walt (+2/-0)
To merge this branch: bzr merge lp:~gholt/swift/walt
Reviewer Review Type Date Requested Status
David Goetz Pending
Review via email: mp+48495@code.launchpad.net

Description of the change

walt: bugfix for deletes ending early

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 'bin/walt'
2--- bin/walt 2011-02-02 23:29:28 +0000
3+++ bin/walt 2011-02-03 16:01:51 +0000
4@@ -143,6 +143,7 @@
5 num_sleeps += 1
6 sleep(1)
7 continue
8+ tried_listing = False
9 retry(direct_delete_object_c, options.node, options.part,
10 options.account, cont_name, obj_name)
11 left[0] -= 1
12@@ -158,6 +159,7 @@
13 with sema:
14 cont_name, obj_name = queue['ok'].pop()
15 queue['used'].add((cont_name, obj_name))
16+ tried_listing = False
17 conn.delete_object(cont_name, obj_name)
18 left[0] -= 1
19 except KeyError:

Subscribers

People subscribed via source and target branches

to all changes: