mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #11464] Add Env Var to disable WAL journaling #12902
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11464
State: closed
Merged: No
Changes
SQLite WAL journaling is not compatible with all filesystems/VFS extensions, causing the database being locked up in certain conditions.
It's worth noting that database lockup is just one potential issue that can arise from compatibility issues with certain filesystems. In some cases, the use of WAL can even lead to the database being saved in a non-consistent state, resulting in database corruption.
Add an env var to let the user to choose the Journal mode for better compatibility.
For example, when the default WAL is causing problems:
Issues