Croque icon indicating copy to clipboard operation
Croque copied to clipboard

Does db lock file

Open TeoGoddet opened this issue 5 years ago • 1 comments

Does the app lock the db file ? What will happen if two container try to access the same file ? (that happen when we release a new version, we start the new container and kill the old one only when the new is running)

TeoGoddet avatar Oct 22 '20 13:10 TeoGoddet

Lowdb is not meant to be queryable by multiple instances. The current upgrade process works as follow: docker-compose pull, docker-compose down, docker-compose up -d which results in an acceptable 2-5s downtime.

zifeo avatar Oct 22 '20 21:10 zifeo