Skip to content

Is it safe to run multiple beets (database altering) sessions at once? #4203

Answered by sampsyo
BrianPuccio asked this question in Q&A
Discussion options

You must be logged in to vote

I think my advice remains more or less the same. The actual data integrity of the database should be fine because of SQLite’s transactional semantics, and in my experience, few weird things happen when using the database in parallel. (And yeah, all that reassurance is off if the database is on an NFS volume or whatever.) I can definitely imagine weird corner cases cropping up with replacing or re-importing the same album in different processes, but none of that is really relevant if you think you'll be touching disjoint sets of albums in the parallel processes.

Good luck!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BrianPuccio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants