Corruption when two machines making changes to library at same time #66
-
I use your customised setup for seafile. Thank you very much for all the effort you've put into it. Since moving to this setup, I find that the performance of syncing is slower - presumably because of all the different dockers that now exist and connect via networking (guessing as that is the reason). As a result, if two people are sharing the same library, and changes are made at the same time, given that the sync is slow, (using the seafile sync client 8.08), that the library immediately becomes corrupted. This didn't happen under the standard docker config that is supplied as I found that the syncing was faster, resulting in less likelihood that two machines would literally try to sync at the same time (despite two users sharing the same library making changes at the same time - seafile would instantly update itself). Is this a common problem with this particular setup? It's almost becoming unusable for me to continue to use as my shared libraries are constantly getting corrupted when it's being used simultaneously by more than one user. Any advice / help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@ggogel Any thoughts on this? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi, I've created this projected almost two years ago and you're the first person, who reports this kind of issue. I personally use it with at least five clients and it's working just fine for me. The only time I ever had a corrupted library was when I was using the new golang file server. Which fileserver did you have configured? And by the way, not "all the different dockers" communicate with each other. Only seahub and seafile-server communicate with each other via TCP instead directly over a unix socket. TCP guarantees that all packages arrive and are in the correct order. So this network communication can't cause any corruption. Can it be a little bit slower? Maybe. Although I didn't compare it with benchmarks, I personally didn't feel any difference in performance. |
Beta Was this translation helpful? Give feedback.
Hi, I've created this projected almost two years ago and you're the first person, who reports this kind of issue. I personally use it with at least five clients and it's working just fine for me.
The only time I ever had a corrupted library was when I was using the new golang file server. Which fileserver did you have configured?
And by the way, not "all the different dockers" communicate with each other. Only seahub and seafile-server communicate with each other via TCP instead directly over a unix socket. TCP guarantees that all packages arrive and are in the correct order. So this network communication can't cause any corruption. Can it be a little bit slower? Maybe. Although I didn't …