aiida-core
aiida-core copied to clipboard
❓Locked `sqlite_dos` database warning: check or hide?
Running with the SQLite storage, I'm getting quite a few of these:
11/27/2025 01:20:40 PM <54603> aiida.engine.utils: [WARNING] Failed to write global variable
`process|state_change|work` to `2025-11-27T13:20:40.354968+10:00` because the database was locked. If the
storage plugin being used is `core.sqlite_dos` this is to be expected and can be safely ignored.
It clearly states that I can safely ignore these warnings, which is good. But I'm wondering: can't we check if the user is running core.sqlite_dos and skip the warnings, or reduce their verbosity? In the end it's still noise for the user, and they may not know what storage they are running and worry about them.
@mbercx i have applied the changes. Please let me know if anything else is needed.