aboutsummaryrefslogtreecommitdiff
path: root/src/db
Commit message (Collapse)AuthorAgeFilesLines
* Don't fetch old values in cross-partition transactional insertsJulien Kritter2024-09-123-33/+17
|
* test: fix db testsmarvin-j972024-09-041-2/+2
|
* dont assert deletion count in sqlite KV adaptermarvin-j972024-09-041-1/+0
|
* perf(kv): dont retrieve values for write opsmarvin-j972024-09-043-24/+14
| | | | see https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/851
* force flag "no read ahead" on LMDBfix-lmdb-no-read-aheadQuentin Dufour2024-08-171-0/+1
|
* [next-0.10] small updates to mention Garage v0.9.4Alex Auvolat2024-04-101-1/+1
|
* [next-0.10] bump version number to 1.0v1.0.0-rc1Alex Auvolat2024-03-281-1/+1
|
* Merge branch 'main' into next-0.10Alex Auvolat2024-03-186-117/+136
|\
| * [sqlite-r2d2] implement connection pooling in sqlite backendAlex Auvolat2024-03-184-118/+103
| |
| * [db-snapshot] Implement db snapshotting logic in garage_dbAlex Auvolat2024-03-155-1/+43
| |
* | [rm-sled] factorize some code in sqlite backendAlex Auvolat2024-03-121-28/+24
| |
* | [rm-sled] Make proper use of pinning in LMDB adapter + comment unsaferm-sledAlex Auvolat2024-03-082-25/+47
| |
* | [rm-sled] Implement iterators in sqlite & lmdb transactionsAlex Auvolat2024-03-084-28/+195
| | | | | | | | with way too much unsafe code
* | [rm-sled] Implement some missing functionality in garage_dbAlex Auvolat2024-03-083-2/+19
| |
* | [rm-sled] Remove counted_tree_hackAlex Auvolat2024-03-084-144/+0
| |
* | [rm-sled] Remove the Sled database engineAlex Auvolat2024-03-085-314/+3
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-03-082-43/+157
|\|
| * [factor-db-open] Combine logic for opening db enginesfactor-db-openAlex Auvolat2024-03-082-43/+157
| |
| * [rel-0.9.3] Bump version to 0.9.3v0.9.3Alex Auvolat2024-03-041-1/+1
| |
| * [rel-0.9.2] Bump version to v0.9.2v0.9.2rel-0.9.2Alex Auvolat2024-03-011-1/+1
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-132-12/+49
|\|
| * [dep-upgrade-202402] refactor dependencies: move all as workspace depsAlex Auvolat2024-02-051-12/+7
| |
| * make all garage_db::Engine variants un-conditionalZdenek Crha2024-01-221-21/+16
| | | | | | | | | | | | | | | | | | | | | | Having all Engine enum variants conditional causes compilation errors when *none* of the DB engine features is enabled. This is not an issue for full garage build, but affects crates that use garage_db as dependency. Change all variants to be present at all times. It solves compilation errors and also allows us to better differentiate between invalid DB engine name and engine with support not compiled in current binary.
| * convert_db: prevent conversion between same input/output engineZdenek Crha2024-01-181-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use optional DB open overrides for both input and output database. Duplicating the same override flag for input/output would result in too many, too long flags. It would be too costly for very rare edge-case where converting between same DB engine, just with different flags. Because overrides flags for different engines are disjoint and we are preventing conversion between same input/ouput DB engine, we can have only one set. The override flag will be passed either to input or output, based on engine type it belongs to. It will never be passed to both of them and cause unwelcome surprise to user.
| * Bump version to 0.9.1v0.9.1rel-v0.9.1Alex Auvolat2024-01-161-1/+1
| |
* | bump crate versions to 0.10.0v0.10.0-beta1Alex Auvolat2024-01-111-1/+1
|/
* bump version to v0.9.0v0.9.0nextAlex Auvolat2023-10-101-1/+1
|
* Merge branch 'main' into nextAlex Auvolat2023-10-102-78/+0
|\
| * Move convert_db command into main garage binaryconvert-db-main-binaryAlex Auvolat2023-10-102-74/+0
| |
* | garage_db: refactor transactions and add on_commit mechanismAlex Auvolat2023-09-216-58/+63
| |
* | Merge branch 'main' into nextAlex Auvolat2023-09-111-1/+1
|\|
| * update version to 0.8.4v0.8.4hold-netapp-0.5.2Alex Auvolat2023-09-051-1/+1
| |
* | Merge branch 'main' into nextv0.9.0-beta1Alex Auvolat2023-08-291-4/+4
|\|
| * bump version to 0.8.3v0.8.3-rc1Alex Auvolat2023-08-281-1/+1
| |
| * cargo: Updated pretty_env_logger v0.4.0 -> v0.5.0.Jonathan Davies2023-08-281-1/+1
| |
| * garage/db: cargo: Updated rusqlite to 0.29.Jonathan Davies2023-08-281-1/+1
| |
| * don't build sqlite by defaulttrinity-1686a2023-06-261-1/+1
| | | | | | | | | | `bundled-libs` is enabled by default, and causes sqlite to be built too, even if the sqlite backend isn't enabled.
* | Mark sled as deprecated, make lmdb default, and improve sqlite and lmdb defaultsAlex Auvolat2023-05-173-6/+18
| |
* | Merge branch 'main' into nextAlex Auvolat2023-05-091-1/+1
|\|
| * Fix undefined macro warn! on 32-bitJakub Jirutka2023-05-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Compiling garage_db v0.8.2 (garage-0.8.2/src/db) error: cannot find macro `warn` in this scope --> src/db/lmdb_adapter.rs:352:2 | 352 | warn!("LMDB is not recommended on 32-bit systems, database size will be limited"); | ^^^^ | = help: consider importing this macro: tracing::warn = note: `warn` is in scope, but it is an attribute: `#[warn]` error: could not compile `garage_db` due to previous error
* | Merge branch 'main' into nextAlex Auvolat2023-04-251-5/+5
|\|
| * Prepare for v0.8.2Alex Auvolat2023-03-131-1/+1
| |
| * db/Cargo.toml: Updated rusqlite from 0.27 to 0.28.Jonathan Davies2023-01-261-1/+1
| |
| * Cargo.toml: Loosen tracing dependency to just 0.1.Jonathan Davies2023-01-261-1/+1
| |
| * {db,util}/Cargo.toml: Updated mktemp from 0.4 to 0.5.Jonathan Davies2023-01-261-1/+1
| |
| * Cargo.toml: Updated clap from 3.1.18 to 4.1.Jonathan Davies2023-01-261-1/+1
| |
* | Merge branch 'main' into nextAlex Auvolat2023-01-044-1/+16
|\|
| * Bump everything to v0.8.1Alex Auvolat2023-01-021-1/+1
| |
| * cli: prettier table in garage statsAlex Auvolat2022-12-133-0/+15
| |
* | Merge commit 'ec12d6c' into nextAlex Auvolat2022-12-111-3/+0
|\ \ | |/ |/|