File hash is lost if file changed in the middle

Bug #544633 reported by Facundo Batista
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
High
Facundo Batista

Bug Description

Sync.handle_HQ_HASH_NEW() checks if info is valid doing validate_actual_data().

If data is ok, it actually processes the event. But if data is not ok, event is lost.

It should somehow trigger a new hashing of the file.

Related branches

Changed in ubuntuone-client:
status: Confirmed → In Progress
Revision history for this message
Facundo Batista (facundo) wrote :

If the file changed it's content, it should not rehash the file, because other FS_FILE_CLOSE_WRITE will be there, and all will be ok.

The problem found is that the permission of the file changed: we should not compare that, as we're not working with that particular metadata.

Changed in ubuntuone-client:
status: In Progress → Fix Committed
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
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.