File gets deleted after restart if it was atomically saved in the previous session

Bug #1006403 reported by Roman Yepishev
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Confirmed
High
Alejandro J. Cura

Bug Description

The logs have this:
2012-05-29 08:59:44,779 - ubuntuone.SyncDaemon.local_rescan - INFO - generating Unlink from trash: share_id='' parent_id='b867650a-f674-4630-8ab4-f07032c53fe5' node_id='a0a9c152-5164-486d-9d02-59a745d6c2d5' path='/home/hakan/Ubuntu One/vattu/283.png'

But the file was not removed on the server or another node, it was created by chromium in the previous session and chromium does the download to a temporary file then moves that file to a real one (possibly with some other steps too).

The full logs are attached and available at https://pastebin.canonical.com/67071/

Tags: desktop+
Revision history for this message
Roman Yepishev (rye) wrote :
Changed in ubuntuone-client:
assignee: nobody → Alejandro J. Cura (alecu)
Roman Yepishev (rye)
visibility: private → public
Changed in ubuntuone-client:
importance: Undecided → High
Revision history for this message
m1fcj (hakan-koseoglu) wrote :

Bug reporter here. I think the conclusion is incorrect.
The file is a Mindmap file (mindmap/todo2.mm), not the picture file in
the vattu directory.

This is not the first time this has happened. I know the file was
saved and stored successfully because my Bacula job has picked it up
from my laptop and backed it up with all of my latest changes. Next
day, I come in, turn on the work laptop and the file gets deleted w/o
a good reason. The first time I find about this is when I open Mindmap
and it tells me that the file no longer exists. When I check the logs,
I find that it is deleted before Mindmap is even started but when I
login to Ubuntu One automatically.

Does not make any sense and definitely does not make me a happy man. I
have reverted to having multiple copies of the file just in case.

Rick McBride (rmcbride)
Changed in ubuntuone-client:
status: New → Confirmed
Leo Arias (elopio)
tags: added: desktop+
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.