> Sqlite is battle-tested though, it has one of the most comprehensive test suite and is used on billions of devices already.
That's great, but you've completely ignored theamk's argument that sqlite is the wrong tool for the job.
That's great, but you've completely ignored theamk's argument that sqlite is the wrong tool for the job.
You currently can't trust systemd log storage at all, even on my own laptop it manages to have some corruption... Querying is very poor and inefficient, indexing is unreliable... And that's exactly what I expect, building a database is hard.
You can ask SQLite to use dot-file locking instead of posix advisory locking. Or you can ask it to simply ignore locking all together. In both cases, SQLite will work on even a broken NFS system, though with the corresponding concurrency limitations.
Is dot-file locking a compile- or run-time option?