Interrupted uploads are never retried
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Client | Status tracked in Trunk | |||||
Stable-1-2 |
Fix Released
|
High
|
Unassigned | |||
Trunk |
Fix Released
|
High
|
Unassigned | |||
ubuntuone-client (Ubuntu) |
Fix Released
|
High
|
Unassigned | |||
Lucid |
Fix Released
|
High
|
Unassigned |
Bug Description
****************
HOW TO REPRODUCE
****************
You'll need to have a broken folder to reproduce this
BY RENAMING THE AFFECTED FOLDER:
1. Computer A has the folder, computer B doesn't
2. Renamed folder in computer A
3. Ubuntu One syncs
4. Computer A has the folder and its components, computer B has the folder without its components
BY MANUALLY COPYING THE AFFECTED FOLDER:
1. Computer A has the folder, computer B doesn't
2. Compressed folder in computer A into a external hard drive
3. Deleted folder in computer A, so no computer has the folder
4. Extracted folder from external hard drive into computer B
5. Ubuntu One syncs
6. Computer B has the folder, computer A doesn't
******************
EXPECTED BEHAVIOUR
******************
- Interrupted uploads to be retried
- Synced folders to have the same contents
**************
REAL BEHAVIOUR
**************
- Interrupted uploads aren't retried
- Sometimes there appear missing contents in synced folders along different devices
***********
WORK-AROUND
***********
REMOVE FOLDER IN THE SERVER:
1. Compress the folder affected by this bug; by right-clicking on it and selecting the "compress..." option, and following steps in the screen
2. Delete the affected folder
3. In one.ubuntu.com, remove the affected folder
4. From the compressed file just created; extract its contents where they were initially located, by right-clicking on it and selecting the "uncompress here..." option
5. Delete the compressed file
****************
RELEVANT DETAILS
****************
- You can easily test if a folder is affected by comparing its number of elements in different devices (righ-click and "properties")
- After the file in a synced folder it is uploaded ('u1sdtool --current-
**************
TECHNICAL INFO
**************
$ u1sdtool --info=
File: /home/dnax/Ubuntu One/gedit-
info_created: 1273066178.93
info_is_partial: False
info_
is_dir: False
local_hash: sha1:5cc0f6fb89
mdid: dc3e3306-
node_id: 8daff726-
path: /home/dnax/Ubuntu One/gedit-
server_hash:
share_id:
stat: posix.stat_
$ u1sdtool --status
State: QUEUE_MANAGER
connection: With User With Network
description: processing queues
is_connected: True
is_error: False
is_online: True
queues: IDLE
Binary package hint: ubuntuone-client
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ubuntuone-client 1.2.1-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Wed May 5 16:12:40 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
PackageArchitec
ProcEnviron:
LANG=it_IT.utf8
SHELL=/bin/bash
SourcePackage: ubuntuone-client
UbuntuOneSyncda
UbuntuOneUserSy
[bandwidth_
read_limit = 2097152
write_limit = 20480
on = True
Related branches
- Natalia Bidart (community): Approve
- John O'Brien (community): Approve
-
Diff: 211 lines (+91/-21)3 files modifiedtests/syncdaemon/test_sync.py (+72/-14)
ubuntuone/syncdaemon/sync.py (+16/-4)
ubuntuone/syncdaemon/u1fsfsm.py (+3/-3)
- Guillermo Gonzalez: Approve
- Tim Cole (community): Approve
-
Diff: 210 lines (+93/-20)3 files modifiedtests/syncdaemon/test_sync.py (+74/-13)
ubuntuone/syncdaemon/sync.py (+16/-4)
ubuntuone/syncdaemon/u1fsfsm.py (+3/-3)
Changed in ubuntuone-client: | |
assignee: | nobody → Facundo Batista (facundo) |
Changed in ubuntuone-client (Ubuntu): | |
status: | New → Confirmed |
Changed in ubuntuone-client: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: chicharra u1-lucid-sru |
Changed in ubuntuone-client (Ubuntu): | |
importance: | Undecided → Critical |
status: | Confirmed → In Progress |
summary: |
- Uploaded file don't receive hash id from server + Interrupted upload is not retried |
Changed in ubuntuone-client (Ubuntu): | |
assignee: | Facundo Batista (facundo) → Rodney Dawes (dobey) |
importance: | Critical → High |
milestone: | none → lucid-updates |
status: | In Progress → Triaged |
Changed in ubuntuone-client: | |
status: | Confirmed → In Progress |
tags: | added: testcase |
Changed in ubuntuone-client (Ubuntu Lucid): | |
importance: | Undecided → High |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-failed removed: verification-done |
tags: | added: precise quantal raring |
Dobey: remember to merge this branch for the Lucid update:
https:/ /code.edge. launchpad. net/~facundo/ ubuntuone- client/ stable- -query- no-content- file/+merge/ 25005
Thanks!!