[precise] Client is stuck due to Upload executing before MakeFile
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Client | Status tracked in Trunk | |||||
Stable-3-0 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
Critical
|
Facundo Batista | |||
ubuntuone-client (Ubuntu) |
Fix Released
|
High
|
dobey | |||
Precise |
Fix Released
|
High
|
dobey |
Bug Description
When more than 200 files (that's the threshold for the queue offloading) are added to the Ubuntu One folder, at some point during the syncing the Upload() task may start executing prior to other tasks that set up the upload location (such as MakeFile). Since this should never happen and signals about out-of-order queue operation processing, syncdaemon stops synchronizing after raising a KeyError.
During my tests this was 100% reproducible.
[Test Case]
1. Add/remove directory with 200 files or more
2. Ensure that files synced and an error like the one below is not output in ~/.cache/
Traceback (most recent call last):
File "/usr/lib/
yield self.run()
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
yield self._start()
File "/usr/lib/
result = g.send(result)
File "/usr/lib/
mdobj = fsm.get_
File "/usr/lib/
mdid = self._idx_
File "/usr/lib/
return dict.__
KeyError: ('', marker:
[Regression Potential]
Minimal. Fix includes unit tests.
Related branches
- Roman Yepishev (community): Approve (code)
- Guillermo Gonzalez: Approve
-
Diff: 148 lines (+114/-2)2 files modifiedtests/syncdaemon/test_action_queue.py (+111/-0)
ubuntuone/syncdaemon/action_queue.py (+3/-2)
- Zachery Bir (community): Approve
- Eric Casteleijn (community): Approve
-
Diff: 148 lines (+114/-2)2 files modifiedtests/syncdaemon/test_action_queue.py (+111/-0)
ubuntuone/syncdaemon/action_queue.py (+3/-2)
Changed in ubuntuone-client: | |
importance: | Undecided → Critical |
status: | New → Triaged |
assignee: | nobody → Facundo Batista (facundo) |
summary: |
- Client is stuck due to Upload executing before MakeFile + [precise] Client is stuck due to Upload executing before MakeFile |
visibility: | private → public |
Changed in ubuntuone-client: | |
status: | Triaged → Fix Committed |
tags: | added: u1-sru |
Changed in ubuntuone-client (Ubuntu): | |
milestone: | none → precise-updates |
importance: | Critical → High |
description: | updated |
Changed in ubuntuone-client (Ubuntu Precise): | |
assignee: | Facundo Batista (facundo) → Rodney Dawes (dobey) |
description: | updated |
Changed in ubuntuone-client (Ubuntu): | |
milestone: | precise-updates → none |
description: | updated |
This bug was fixed in the package ubuntuone-client - 3.0.1-0ubuntu1.1
---------------
ubuntuone-client (3.0.1-0ubuntu1.1) quantal; urgency=low
* New upstream release.
- Don't ignore test failures in from main tests suite. (LP: #993574)
- Avoid multiple parallel GetDelta commands on same volume. (LP: #883252)
- Fix small memory leak in folder enabled check. (LP: #981255)
- Don't start syncdaemon with u1sdtool -q if not running. (LP: #907479)
- Avoid having Upload execute before Makefile command. (LP: #978903)
* debian/watch:
- Update watch file to use stable-3-0 series for downloads now
-- Rodney Dawes <email address hidden> Tue, 22 May 2012 13:33:55 -0400