View Single Post
Old 08-01-2024, 10:26 AM   #30
ratinox
Guru
ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.
 
Posts: 807
Karma: 11053908
Join Date: Oct 2016
Location: Somewhere in Time
Device: Forma, iPad Mini
Quote:
Originally Posted by sheepdog View Post
The key to using Dropbox with Calibre is to realize that, so long as Calibre and the Dropbox daemon are never running at the same time, the risk of corruption is no greater than with one or the other alone.
This is not entirely accurate.

Leaving aside Dropbox in particular, the root problem is that multiple instances of an open database file on replicated or shared storage will result in corruption. Instance 1 writes, replication system replicates, but Instance 2 does not know that the file is changed so it writes and damages the file. This damage is replicated back to Instance 1's filesystem but Instance 1 does not know of these changes so it writes and causes further damage. The more times this happens, the more damage is done.

Dropbox in particular may have additional problems. I don't use it so I don't know. I do use Syncthing, being careful to avoid Calibre concurrency, and it has been fine for many years.
ratinox is offline   Reply With Quote