c0g Posted August 3, 2013 Report Share Posted August 3, 2013 I am using BTSync 1.1.48 on an OSX computer and a Linux Mint machine. I do most of my changes on OSX - the linux machine mostly acts as an always on server. This problem is hard to replicate - I have tried to run the debug log, but it hit 30GB before getting the problem again. I disabled the log and a few days later it happened. I have tried to replicate it all morning, and nothing.I use sync to synchronise my source code folders and Latex projects. Some of these are also under Git. There are lots of small files, and when I'm writing Latex especially, large amount of churn as I have it set up to rebuild everytime I save.My problem is that, on occasion, Sync overwrites my changed file after 5 - 10 minutes. I write a new piece of code, move onto a different file then either get a sync notification from the menu bar or come back to the editor and get told the file has changed on the file system, do I want to reload it? I find this behaviour quite worrying since it will probably also trash my Git history, and has already broken a few code projects when changes got reverted.This problem caused me to disable Sync back in the Alpha, but I have since read the problem was fixed. The transition from Alpha - Beta seems a bit rushed if there are still instances, like this one, of people's files being trashed. Quote Link to comment Share on other sites More sharing options...
Harold Feit Posted August 3, 2013 Report Share Posted August 3, 2013 How synchronized are your two computers' clocks? Quote Link to comment Share on other sites More sharing options...
c0g Posted August 3, 2013 Author Report Share Posted August 3, 2013 The linux seems to lag the mac by just less than 2 seconds.I tested this by running 'watch -n 0.1 date' on both machines. Quote Link to comment Share on other sites More sharing options...
c0g Posted August 16, 2013 Author Report Share Posted August 16, 2013 [EDIT - I think I diagnosed the problem]The problem would appear to be that the files were changed on the Mac, the Linux tried to write to them but was unable to, then saw they were different to the Mac so synced them right back.In the case just now this was because I'd been messing with permissions/ownerships on the linux end - I don't know what the previous issue was. The files I was editing were owned by root but sync was running as a user - so it tried to write the files but failed. Why it thought it was reasonable to nuke my Mac's files is another question, answerable by the Sync devs. Quote Link to comment Share on other sites More sharing options...
cpbotha Posted October 5, 2013 Report Share Posted October 5, 2013 I am unfortunately also seeing this git-old-file-returning problem quite regularly between NTP time-synced computers: http://forum.bittorrent.com/topic/12658-if-you-have-syncapp-issue/?p=68934 I haven't touched any file permissions. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.