Synchronization scenario doesn't give confidence #7122
-
OverviewWhat will happen when one central database file (master) is synced (merged, copied) with multiple client (slave) databases, running on multiple client systems simultaneously? Steps to ReproduceE.g. these database files are in use:
Let's say on yellow and cyan we merge/sync each 5 minutes:
Also let's say both client computers (yellow and cyan) are active at the same time, and making these changes:
Expected BehaviorIt would be great if the addition and the change would replicate to both the server and the clients yellow and cyan. Actual BehaviorI didn't test but I'm afraid there is some risk of information loss. QuestionHow to do save and easy sync? NoteCurrent documentation on the website recommends to use syncing software, so the changed files would be copied without merging. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Treat the file as a binary blob. You need to sync state with the blob before overwriting it or you will lose data. Guaranteed to lose data if you are doing raw file operations and not using a sync system that had version control. TLDR: Use syncthing. |
Beta Was this translation helpful? Give feedback.
-
+1 for Syncthing |
Beta Was this translation helpful? Give feedback.
Treat the file as a binary blob. You need to sync state with the blob before overwriting it or you will lose data. Guaranteed to lose data if you are doing raw file operations and not using a sync system that had version control.
TLDR: Use syncthing.