Merge lp:~facundo/ubuntuone-client/sys-quota-exceeded-back into lp:ubuntuone-client
Proposed by
Facundo Batista
Status: | Merged |
---|---|
Approved by: | Facundo Batista |
Approved revision: | 906 |
Merged at revision: | 904 |
Proposed branch: | lp:~facundo/ubuntuone-client/sys-quota-exceeded-back |
Merge into: | lp:ubuntuone-client |
Diff against target: |
240 lines (+72/-22) 2 files modified
tests/syncdaemon/test_action_queue.py (+51/-17) ubuntuone/syncdaemon/action_queue.py (+21/-5) |
To merge this branch: | bzr merge lp:~facundo/ubuntuone-client/sys-quota-exceeded-back |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Facundo Batista (community) | Approve | ||
John O'Brien (community) | Approve | ||
Review via email: mp+51808@code.launchpad.net |
Commit message
Bring SYS_QUOTA_EXCEEDED back (LP: #720797)
Description of the change
Bring SYS_QUOTA_EXCEEDED back
Commands now have a handle_retryable, a method they can use to receive a failure that does not make the command end, but to retry it.
The only one using it ATM is Upload, to send SYS_QUOTA_EXCEEDED.
Also, when testing this I noticed that if a command got stuck because of conditions, it never released the pathlock (even if cancelled!). So fixed that.
Tests included for everything.
To post a comment you must log in.
I love proposals that have more tests than code and find & fix a few bugs on the way.