2011-07-08 21:05:28 |
Facundo Batista |
bug |
|
|
added bug |
2011-07-08 21:05:55 |
Facundo Batista |
ubuntuone-client: importance |
Undecided |
High |
|
2011-07-08 21:06:15 |
Facundo Batista |
ubuntuone-client: assignee |
|
Ubuntu One Foundations+ team (ubuntuone-foundations+) |
|
2011-09-29 18:24:18 |
Facundo Batista |
ubuntuone-client: status |
Confirmed |
Triaged |
|
2011-09-29 18:24:23 |
Facundo Batista |
ubuntuone-client: assignee |
Ubuntu One Foundations+ team (ubuntuone-foundations+) |
Facundo Batista (facundo) |
|
2011-09-29 18:24:30 |
Facundo Batista |
ubuntuone-client: status |
Triaged |
In Progress |
|
2011-09-29 20:21:53 |
Facundo Batista |
ubuntuone-client: importance |
High |
Critical |
|
2011-09-29 20:25:30 |
Launchpad Janitor |
branch linked |
|
lp:~facundo/ubuntuone-client/lr-stop-touching-inexistant-nodes |
|
2011-09-29 20:30:15 |
Joshua Hoover |
tags |
chicharra chicharra-oneiric |
chicharra chicharra-oneiric u1-natty-sru |
|
2011-09-29 20:30:52 |
Joshua Hoover |
nominated for series |
|
ubuntuone-client/stable-1-6 |
|
2011-09-29 20:30:52 |
Joshua Hoover |
bug task added |
|
ubuntuone-client/stable-1-6 |
|
2011-09-29 20:30:52 |
Joshua Hoover |
nominated for series |
|
ubuntuone-client/stable-2-0 |
|
2011-09-29 20:30:52 |
Joshua Hoover |
bug task added |
|
ubuntuone-client/stable-2-0 |
|
2011-09-29 20:30:52 |
Joshua Hoover |
nominated for series |
|
ubuntuone-client/trunk |
|
2011-09-29 20:30:52 |
Joshua Hoover |
bug task added |
|
ubuntuone-client/trunk |
|
2011-09-29 20:31:31 |
Joshua Hoover |
ubuntuone-client/stable-1-6: assignee |
|
Facundo Batista (facundo) |
|
2011-09-29 20:31:41 |
Joshua Hoover |
ubuntuone-client/stable-2-0: assignee |
|
Facundo Batista (facundo) |
|
2011-09-29 20:31:59 |
Joshua Hoover |
bug task added |
|
ubuntuone-client (Ubuntu) |
|
2011-09-29 20:32:10 |
Joshua Hoover |
nominated for series |
|
Ubuntu Natty |
|
2011-09-29 20:32:10 |
Joshua Hoover |
nominated for series |
|
Ubuntu Oneiric |
|
2011-09-29 20:32:25 |
Joshua Hoover |
ubuntuone-client (Ubuntu): importance |
Undecided |
High |
|
2011-09-29 20:32:43 |
Joshua Hoover |
ubuntuone-client/stable-2-0: importance |
Undecided |
Critical |
|
2011-09-29 20:32:47 |
Joshua Hoover |
ubuntuone-client/stable-1-6: importance |
Undecided |
Critical |
|
2011-09-29 21:09:51 |
Joshua Hoover |
description |
When in UDF mode, LR intercepts deletions, and as part of the process it dirties the parent hashes... but the parent may not exist.
Patch proposed:
=== modified file 'ubuntuone/syncdaemon/local_rescan.py'
--- ubuntuone/syncdaemon/local_rescan.py 2011-04-05 19:33:06 +0000
+++ ubuntuone/syncdaemon/local_rescan.py 2011-07-08 21:00:52 +0000
@@ -672,8 +672,11 @@
fsm = self.fsm
for evtname, path in delete_events:
parentpath = os.path.dirname(path)
- log_info("UDF mode! Resetting hashes to dir %r", parentpath)
- self.fsm.set_by_path(parentpath, local_hash="", server_hash="")
+ if self.fsm.has_metadata(path=parentpath):
+ log_info("UDF mode! Resetting hashes to dir %r",
+ parentpath)
+ self.fsm.set_by_path(parentpath,
+ local_hash="", server_hash="")
if evtname == "FS_DIR_DELETE":
log_info("UDF mode! Removing metadata from dir %r", path)
tree = fsm.get_paths_starting_with(path, include_base=True) |
When in UDF mode, LR intercepts deletions, and as part of the process it dirties the parent hashes... but the parent may not exist.
Patch proposed:
=== modified file 'ubuntuone/syncdaemon/local_rescan.py'
--- ubuntuone/syncdaemon/local_rescan.py 2011-04-05 19:33:06 +0000
+++ ubuntuone/syncdaemon/local_rescan.py 2011-07-08 21:00:52 +0000
@@ -672,8 +672,11 @@
fsm = self.fsm
for evtname, path in delete_events:
parentpath = os.path.dirname(path)
- log_info("UDF mode! Resetting hashes to dir %r", parentpath)
- self.fsm.set_by_path(parentpath, local_hash="", server_hash="")
+ if self.fsm.has_metadata(path=parentpath):
+ log_info("UDF mode! Resetting hashes to dir %r",
+ parentpath)
+ self.fsm.set_by_path(parentpath,
+ local_hash="", server_hash="")
if evtname == "FS_DIR_DELETE":
log_info("UDF mode! Removing metadata from dir %r", path)
tree = fsm.get_paths_starting_with(path, include_base=True)
---------
TEST CASE:
Run these commands to setup the tests:
mkdir ~/Ubuntu\ One/807737 ~/Ubuntu\ One/807737/a ~/Ubuntu\ One/807737/a/b ~/Ubuntu\ One/807737/aa
(Wait a minute for Ubuntu One to pickup these new folders)
u1sdtool -q
rm -r ~/Ubuntu\ One/a
u1sdtool -c
Result: ~/Ubuntu\ One/a and ~/Ubuntu\ One/aa are deleted
Expected result: Only ~/Ubuntu\ One/a is deleted |
|
2011-09-30 12:46:23 |
Launchpad Janitor |
branch linked |
|
lp:~facundo/ubuntuone-client/fix-getbynodeid--1-6 |
|
2011-09-30 18:55:24 |
Launchpad Janitor |
branch linked |
|
lp:~facundo/ubuntuone-client/fix-getbynodeid--2-0 |
|
2011-10-04 22:07:36 |
Kate Stewart |
bug task added |
|
ubuntuone-client (Ubuntu Oneiric) |
|
2011-10-05 12:04:19 |
Ubuntu One Auto Pilot |
ubuntuone-client/trunk: status |
In Progress |
Fix Committed |
|
2011-10-05 14:19:53 |
Joshua Hoover |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2011-10-06 23:54:37 |
Ubuntu One Auto Pilot |
ubuntuone-client/stable-2-0: status |
New |
Fix Committed |
|
2011-10-07 02:04:37 |
Ubuntu One Auto Pilot |
ubuntuone-client/stable-1-6: status |
New |
Fix Committed |
|
2011-10-07 14:18:41 |
Joshua Hoover |
ubuntuone-client (Ubuntu Oneiric): milestone |
|
oneiric-updates |
|
2011-10-07 14:18:51 |
Joshua Hoover |
ubuntuone-client (Ubuntu Oneiric): assignee |
|
Rodney Dawes (dobey) |
|
2011-10-07 14:18:59 |
Joshua Hoover |
tags |
chicharra chicharra-oneiric u1-natty-sru |
chicharra chicharra-oneiric u1-natty-sru u1-oneiric-sru |
|
2011-10-11 17:38:22 |
dobey |
ubuntuone-client/stable-1-6: milestone |
|
1.6.3 |
|
2011-10-11 17:38:27 |
dobey |
ubuntuone-client/stable-2-0: milestone |
|
2.0.1 |
|
2011-10-11 17:38:36 |
dobey |
bug task added |
|
ubuntuone-client (Ubuntu Natty) |
|
2011-10-11 17:39:17 |
dobey |
ubuntuone-client (Ubuntu Natty): importance |
Undecided |
High |
|
2011-10-11 17:39:17 |
dobey |
ubuntuone-client (Ubuntu Natty): status |
New |
In Progress |
|
2011-10-11 17:39:17 |
dobey |
ubuntuone-client (Ubuntu Natty): assignee |
|
Rodney Dawes (dobey) |
|
2011-10-11 20:27:26 |
Clint Byrum |
nominated for series |
|
Ubuntu Precise |
|
2011-10-11 20:27:26 |
Clint Byrum |
bug task added |
|
ubuntuone-client (Ubuntu Precise) |
|
2011-10-11 20:28:17 |
Clint Byrum |
ubuntuone-client (Ubuntu Oneiric): status |
New |
Fix Committed |
|
2011-10-11 20:28:21 |
Clint Byrum |
bug |
|
|
added subscriber SRU Verification |
2011-10-11 20:28:25 |
Clint Byrum |
tags |
chicharra chicharra-oneiric u1-natty-sru u1-oneiric-sru |
chicharra chicharra-oneiric u1-natty-sru u1-oneiric-sru verification-needed |
|
2011-10-11 21:10:27 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/oneiric-proposed/ubuntuone-client |
|
2011-10-12 04:35:34 |
Martin Pitt |
ubuntuone-client (Ubuntu Natty): status |
In Progress |
Fix Committed |
|
2011-10-12 05:19:28 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/natty-proposed/ubuntuone-client |
|
2011-10-13 16:46:35 |
Joshua Hoover |
description |
When in UDF mode, LR intercepts deletions, and as part of the process it dirties the parent hashes... but the parent may not exist.
Patch proposed:
=== modified file 'ubuntuone/syncdaemon/local_rescan.py'
--- ubuntuone/syncdaemon/local_rescan.py 2011-04-05 19:33:06 +0000
+++ ubuntuone/syncdaemon/local_rescan.py 2011-07-08 21:00:52 +0000
@@ -672,8 +672,11 @@
fsm = self.fsm
for evtname, path in delete_events:
parentpath = os.path.dirname(path)
- log_info("UDF mode! Resetting hashes to dir %r", parentpath)
- self.fsm.set_by_path(parentpath, local_hash="", server_hash="")
+ if self.fsm.has_metadata(path=parentpath):
+ log_info("UDF mode! Resetting hashes to dir %r",
+ parentpath)
+ self.fsm.set_by_path(parentpath,
+ local_hash="", server_hash="")
if evtname == "FS_DIR_DELETE":
log_info("UDF mode! Removing metadata from dir %r", path)
tree = fsm.get_paths_starting_with(path, include_base=True)
---------
TEST CASE:
Run these commands to setup the tests:
mkdir ~/Ubuntu\ One/807737 ~/Ubuntu\ One/807737/a ~/Ubuntu\ One/807737/a/b ~/Ubuntu\ One/807737/aa
(Wait a minute for Ubuntu One to pickup these new folders)
u1sdtool -q
rm -r ~/Ubuntu\ One/a
u1sdtool -c
Result: ~/Ubuntu\ One/a and ~/Ubuntu\ One/aa are deleted
Expected result: Only ~/Ubuntu\ One/a is deleted |
When in UDF mode, LR intercepts deletions, and as part of the process it dirties the parent hashes... but the parent may not exist.
Patch proposed:
=== modified file 'ubuntuone/syncdaemon/local_rescan.py'
--- ubuntuone/syncdaemon/local_rescan.py 2011-04-05 19:33:06 +0000
+++ ubuntuone/syncdaemon/local_rescan.py 2011-07-08 21:00:52 +0000
@@ -672,8 +672,11 @@
fsm = self.fsm
for evtname, path in delete_events:
parentpath = os.path.dirname(path)
- log_info("UDF mode! Resetting hashes to dir %r", parentpath)
- self.fsm.set_by_path(parentpath, local_hash="", server_hash="")
+ if self.fsm.has_metadata(path=parentpath):
+ log_info("UDF mode! Resetting hashes to dir %r",
+ parentpath)
+ self.fsm.set_by_path(parentpath,
+ local_hash="", server_hash="")
if evtname == "FS_DIR_DELETE":
log_info("UDF mode! Removing metadata from dir %r", path)
tree = fsm.get_paths_starting_with(path, include_base=True)
---------
TEST CASE:
Run these commands to setup the tests:
mkdir ~/Ubuntu\ One/807737 ~/Ubuntu\ One/807737/a ~/Ubuntu\ One/807737/a/b ~/Ubuntu\ One/807737/aa
(Wait a minute for Ubuntu One to pickup these new folders)
u1sdtool -q
rm -r ~/Ubuntu\ One/807737a
u1sdtool -c
Result: ~/Ubuntu\ One/807737/a and ~/Ubuntu\ One/807737/aa are deleted
Expected result: Only ~/Ubuntu\ One/807737/a is deleted |
|
2011-10-13 17:17:53 |
Roman Yepishev |
description |
When in UDF mode, LR intercepts deletions, and as part of the process it dirties the parent hashes... but the parent may not exist.
Patch proposed:
=== modified file 'ubuntuone/syncdaemon/local_rescan.py'
--- ubuntuone/syncdaemon/local_rescan.py 2011-04-05 19:33:06 +0000
+++ ubuntuone/syncdaemon/local_rescan.py 2011-07-08 21:00:52 +0000
@@ -672,8 +672,11 @@
fsm = self.fsm
for evtname, path in delete_events:
parentpath = os.path.dirname(path)
- log_info("UDF mode! Resetting hashes to dir %r", parentpath)
- self.fsm.set_by_path(parentpath, local_hash="", server_hash="")
+ if self.fsm.has_metadata(path=parentpath):
+ log_info("UDF mode! Resetting hashes to dir %r",
+ parentpath)
+ self.fsm.set_by_path(parentpath,
+ local_hash="", server_hash="")
if evtname == "FS_DIR_DELETE":
log_info("UDF mode! Removing metadata from dir %r", path)
tree = fsm.get_paths_starting_with(path, include_base=True)
---------
TEST CASE:
Run these commands to setup the tests:
mkdir ~/Ubuntu\ One/807737 ~/Ubuntu\ One/807737/a ~/Ubuntu\ One/807737/a/b ~/Ubuntu\ One/807737/aa
(Wait a minute for Ubuntu One to pickup these new folders)
u1sdtool -q
rm -r ~/Ubuntu\ One/807737a
u1sdtool -c
Result: ~/Ubuntu\ One/807737/a and ~/Ubuntu\ One/807737/aa are deleted
Expected result: Only ~/Ubuntu\ One/807737/a is deleted |
When in UDF mode, LR intercepts deletions, and as part of the process it dirties the parent hashes... but the parent may not exist.
Patch proposed:
=== modified file 'ubuntuone/syncdaemon/local_rescan.py'
--- ubuntuone/syncdaemon/local_rescan.py 2011-04-05 19:33:06 +0000
+++ ubuntuone/syncdaemon/local_rescan.py 2011-07-08 21:00:52 +0000
@@ -672,8 +672,11 @@
fsm = self.fsm
for evtname, path in delete_events:
parentpath = os.path.dirname(path)
- log_info("UDF mode! Resetting hashes to dir %r", parentpath)
- self.fsm.set_by_path(parentpath, local_hash="", server_hash="")
+ if self.fsm.has_metadata(path=parentpath):
+ log_info("UDF mode! Resetting hashes to dir %r",
+ parentpath)
+ self.fsm.set_by_path(parentpath,
+ local_hash="", server_hash="")
if evtname == "FS_DIR_DELETE":
log_info("UDF mode! Removing metadata from dir %r", path)
tree = fsm.get_paths_starting_with(path, include_base=True)
---------
TEST CASE:
Run these commands to setup the tests:
mkdir ~/Ubuntu\ One/807737 ~/Ubuntu\ One/807737/a ~/Ubuntu\ One/807737/a/b ~/Ubuntu\ One/807737/aa
(Wait a minute for Ubuntu One to pickup these new folders)
u1sdtool -q
rm -r ~/Ubuntu\ One/807737/a
u1sdtool -c
Result: ~/Ubuntu\ One/807737/a and ~/Ubuntu\ One/807737/aa are deleted
Expected result: Only ~/Ubuntu\ One/807737/a is deleted |
|
2011-10-13 17:18:51 |
Roman Yepishev |
tags |
chicharra chicharra-oneiric u1-natty-sru u1-oneiric-sru verification-needed |
chicharra chicharra-oneiric u1-natty-sru u1-oneiric-sru verification-done |
|
2011-10-13 17:19:49 |
dobey |
ubuntuone-client (Ubuntu Natty): milestone |
|
natty-updates |
|
2011-10-13 17:19:59 |
dobey |
ubuntuone-client (Ubuntu Precise): milestone |
|
precise-alpha-1 |
|
2011-10-17 04:37:41 |
Launchpad Janitor |
ubuntuone-client (Ubuntu Precise): status |
New |
Fix Released |
|
2011-10-17 04:37:48 |
Launchpad Janitor |
ubuntuone-client (Ubuntu Oneiric): status |
Fix Committed |
Fix Released |
|
2011-10-19 04:41:55 |
Launchpad Janitor |
ubuntuone-client (Ubuntu Natty): status |
Fix Committed |
Fix Released |
|
2011-11-02 14:33:33 |
Natalia Bidart |
ubuntuone-client/stable-1-6: status |
Fix Committed |
Fix Released |
|
2011-11-02 14:33:38 |
Natalia Bidart |
ubuntuone-client/trunk: status |
Fix Committed |
Fix Released |
|
2011-11-02 14:33:43 |
Natalia Bidart |
ubuntuone-client/stable-2-0: status |
Fix Committed |
Fix Released |
|
2011-11-03 14:02:26 |
dobey |
ubuntuone-client/stable-2-0: status |
Fix Released |
Fix Committed |
|
2011-11-03 14:02:29 |
dobey |
ubuntuone-client/trunk: status |
Fix Released |
Fix Committed |
|
2011-11-03 14:02:33 |
dobey |
ubuntuone-client/stable-1-6: status |
Fix Released |
Fix Committed |
|
2011-12-21 20:17:01 |
dobey |
nominated for series |
|
ubuntuone-client/stable-3-0 |
|
2011-12-21 20:17:01 |
dobey |
bug task added |
|
ubuntuone-client/stable-3-0 |
|
2011-12-21 20:17:14 |
dobey |
ubuntuone-client/stable-3-0: milestone |
|
2.99.0 |
|
2011-12-21 20:17:20 |
dobey |
ubuntuone-client/stable-3-0: status |
New |
Fix Committed |
|
2011-12-21 20:17:23 |
dobey |
ubuntuone-client/stable-3-0: importance |
Undecided |
Critical |
|
2011-12-21 20:17:36 |
dobey |
ubuntuone-client/stable-3-0: assignee |
|
Facundo Batista (facundo) |
|
2011-12-21 20:17:47 |
dobey |
ubuntuone-client (Ubuntu Precise): assignee |
|
Rodney Dawes (dobey) |
|
2011-12-21 20:17:51 |
dobey |
ubuntuone-client (Ubuntu Precise): importance |
Undecided |
High |
|
2011-12-21 20:17:55 |
dobey |
ubuntuone-client (Ubuntu Precise): milestone |
precise-alpha-1 |
precise-alpha-2 |
|
2011-12-21 20:18:14 |
dobey |
ubuntuone-client/trunk: status |
Fix Committed |
Fix Released |
|
2011-12-21 20:48:15 |
dobey |
ubuntuone-client/stable-3-0: status |
Fix Committed |
Fix Released |
|
2012-04-12 21:33:45 |
Joshua Hoover |
tags |
chicharra chicharra-oneiric u1-natty-sru u1-oneiric-sru verification-done |
chicharra chicharra-oneiric u1-natty-sru verification-done |
|
2012-04-18 20:38:50 |
dobey |
ubuntuone-client/stable-2-0: status |
Fix Committed |
Fix Released |
|
2016-12-07 09:33:29 |
Facundo Batista |
ubuntuone-client/stable-1-6: status |
Fix Committed |
Fix Released |
|