Turoab Posted May 31, 2014 Report Share Posted May 31, 2014 Node A is the office node. Node B, C and D are the home nodes (same subnet). Node A as the master node, gives Read-Only secret to Node B. Node B gives the same Read-Only secret to Node C and D. Node C and D are currently syncing with node B successfully. Question: Are node C and D supposed to sync with node A as well? The reason for asking is that the nodes C and D do not appear to sync with A ! Quote Link to comment Share on other sites More sharing options...
Guest proactiveservices Posted May 31, 2014 Report Share Posted May 31, 2014 Yes. All nodes should be able to reach one another, as long as the folder is set appropriately (to use tracker, LAN etc.). Sounds like there is a firewall and/or, if using NAT, port forwarding problem somewhere. Keep in mind it can sometimes take a few minutes for all peers to be discovered...so don't watch the pot as it will never boil ;-) Quote Link to comment Share on other sites More sharing options...
Turoab Posted June 1, 2014 Author Report Share Posted June 1, 2014 OK. What if B, C, D (all Read-Only) had files in them before they became Read-Only, or files added to them after they become Read-Only? Are those files are also supposed to be synched or is it that those files are ignored and only the files pulled from A are synced among them? Quote Link to comment Share on other sites More sharing options...
Guest proactiveservices Posted June 1, 2014 Report Share Posted June 1, 2014 Scenario one: Some peers have files in them whilst they have read-write secrets ("before they became read-only").Any files/directories which are additions, modifications or deletions to existing data on any given peer will be replicated to all peers. Scenario two: Some peers have files added to their local filesystem whilst they have read-only secrets.BitTorrent Sync will ignore these files. You should stop thinking of computers A, B, C or D and see them as peers: http://en.wiktionary.org/wiki/peer#Etymology_2"Something that is at a level equal to that of something else." There are no masters or slaves. There are those with read-write secrets and those with read-only secrets.Read-write can effect changes to the data, read-only cannot. Quote Link to comment Share on other sites More sharing options...
Turoab Posted June 1, 2014 Author Report Share Posted June 1, 2014 Scenario one: Some peers have files in them whilst they have read-write secrets ("before they became read-only").Any files/directories which are additions, modifications or deletions to existing data on any given peer will be replicated to all peers. Regarding scenario one, what would be the behaviour if the scenario is as follows: Scenario one: Some peers have files in them before they had any secret what so ever (" before they became read-only"). Quote Link to comment Share on other sites More sharing options...
Guest proactiveservices Posted June 1, 2014 Report Share Posted June 1, 2014 I assume you mean the following - correct me if I am wrong:Files exist in a peerThe containing folder is added to BitTorrent Sync with a read-only secret. If the file A matches the path of file A on a remote read/write peer, it will be checksummed and updated as necessary. (Useful for using a SneakerNet to "seed" a sync folder).If file A is then deleted/modified by a read/write peer, changes will be effected to the RO peer depending on the sync folder settings, read-only flag on the file, local security permissions etc.File B does not exist on any remote read/write peers and will be ignored. Quote Link to comment Share on other sites More sharing options...
Turoab Posted June 1, 2014 Author Report Share Posted June 1, 2014 This is what I mean and in this order: B has file-b alreay.A gives B read-only secret for some files.B gives C this read-only secretIs file-b replicated from B to C? Quote Link to comment Share on other sites More sharing options...
Guest proactiveservices Posted June 1, 2014 Report Share Posted June 1, 2014 "File B does not exist on any remote read/write peers and will be ignored." File B is copied only if a read-write peer has the exact file in the exact file path. Files can only be added, modified or deleted by peers with the read-write secret. If a file is changed, added or deleted by a read-only peer, these changes cannot be propagated. Quote Link to comment Share on other sites More sharing options...
Turoab Posted June 1, 2014 Author Report Share Posted June 1, 2014 Thanks for answering mu questions. So, if the read-write peer later adds a file with the same name and path as file-b, then file-b of the read-only node gets overwritten? Quote Link to comment Share on other sites More sharing options...
Guest proactiveservices Posted June 1, 2014 Report Share Posted June 1, 2014 I believe so, yes. It will be easy for you to test this, just to make sure though! Quote Link to comment Share on other sites More sharing options...
Turoab Posted June 1, 2014 Author Report Share Posted June 1, 2014 I hope not. But I'll test it. Quote Link to comment Share on other sites More sharing options...
Guest proactiveservices Posted June 1, 2014 Report Share Posted June 1, 2014 Don't forget to report back, after we got this far :-) Quote Link to comment Share on other sites More sharing options...
Turoab Posted June 1, 2014 Author Report Share Posted June 1, 2014 Ok. Interesting test results with no overriding: The read-only node has file-bThe R/W folder shared the file-a with the read-only nodeNow, the read-only node has file-a and file-bCreated file-b in R/W folderThe R/O foder does not receive the file-b from the R/W folder. In other words, the R/O folder's file-b does not get overidden with the same file name from the R/W node (and that's good). Quote Link to comment Share on other sites More sharing options...
Guest proactiveservices Posted June 1, 2014 Report Share Posted June 1, 2014 There is an option for RO nodes (that is off by default) to "restore modified files to their original. I believe if you set this, file B will be overwritten. Quote Link to comment Share on other sites More sharing options...
Turoab Posted June 1, 2014 Author Report Share Posted June 1, 2014 Thanks for informing me. But in this particular case I would like no overwritting of the pre-existing files in the R/O folder (just because the R/W folder might happen to have the same files names in its folder). I like this default behaviour. 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.