What steps will reproduce the problem?
1. when we append a file on tsumufs : old data lentgh is less than new data
lentgh. If difference between two lengths is equal to "X"
2. In that case, the write function in fusefile appends "X" times the NULL
character at the end of old data
3. during propogateChange, tsumufs compares old data and data on NFS. But
on NFS, NULLS characters aren't present. So, Tsumufs thinks that region has
changed
What is the expected output?
Region has changed -- entire changeset conflicted.
SyncThread(_propogateChange):Data read was ''
SyncThread(_propogateChange):Wanted '\x00\x00\x00\x00'
What do you see instead?
Before comparing both versions, whe should append NULL characters on NFS
version. Check out the attached patch
Original issue reported on code.google.com by megab...@gmail.com on 26 May 2009 at 4:49
Original issue reported on code.google.com by
megab...@gmail.com
on 26 May 2009 at 4:49Attachments: