Multiple Nodes & Conflict Resolution


sbrattla

Recommended Posts

Hi,

 

Let's say I've got three storage nodes A,B and C. The process 'updateLog' which runs on each of the nodes regularly updates the content of a STATUS.LOG file. 

 

Let's say I set up BitTorrent to synch this file between A,B,C. Assuming that time is synchronized between the nodes, one should expect that all nodes at any given time contains the most recent file (timestamp-wise).

 

1) What happens if A updates STATUS.LOG, but can't get in touch with B and C? Will A simply attempt to retry synchronization until it gets in touch with B and C again? 

 

2) What happens if A updates STATUS.LOG at the same time as B updates the STATUS.LOG - but A can't get in touch with B or C? Will A, when it again can establish contact with B and C, simply realise that it holds a stale version of STATUS.LOG and instead apply the version which B holds?

 

Thanks!

 

 

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.