garage/src/db
Baptiste Jonglez 43402c9619 snapshot: sqlite: use a subdirectory for consistency with LMDB
Currently, taking a snapshot of the metadata database with sqlite creates
a sqlite file without extension with the following format:

    snapshots/2025-01-26T15:29:17Z

This makes it hard to understand what kind of data this is, and is not
consistent with LMDB:

    snapshots/2025-01-26T15:29:17Z/data.mdb

With this change, we now get a directory with a single db.sqlite file:

    snapshots/2025-01-26T15:29:17Z/db.sqlite
2025-01-27 19:06:52 +01:00
..
Cargo.toml Bump to version 1.0.1 2024-09-22 14:25:32 +02:00
lib.rs Fix all typos 2025-01-16 13:22:00 +01:00
lmdb_adapter.rs Fix all typos 2025-01-16 13:22:00 +01:00
open.rs force flag "no read ahead" on LMDB 2024-08-17 21:17:15 +02:00
sqlite_adapter.rs snapshot: sqlite: use a subdirectory for consistency with LMDB 2025-01-27 19:06:52 +01:00
test.rs Tests: don't expect old value after transactional insert 2024-09-12 10:50:53 +02:00