Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [rm-sled] Implement some missing functionality in garage_db | Alex Auvolat | 2024-03-08 | 3 | -2/+19 |
| | |||||
* | [rm-sled] Remove counted_tree_hack | Alex Auvolat | 2024-03-08 | 4 | -144/+0 |
| | |||||
* | [rm-sled] Remove the Sled database engine | Alex Auvolat | 2024-03-08 | 5 | -314/+3 |
| | |||||
* | Merge branch 'main' into next-0.10 | Alex Auvolat | 2024-03-08 | 2 | -43/+157 |
|\ | |||||
| * | [factor-db-open] Combine logic for opening db enginesfactor-db-open | Alex Auvolat | 2024-03-08 | 2 | -43/+157 |
| | | |||||
| * | [rel-0.9.3] Bump version to 0.9.3v0.9.3 | Alex Auvolat | 2024-03-04 | 1 | -1/+1 |
| | | |||||
| * | [rel-0.9.2] Bump version to v0.9.2v0.9.2rel-0.9.2 | Alex Auvolat | 2024-03-01 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'main' into next-0.10 | Alex Auvolat | 2024-02-13 | 2 | -12/+49 |
|\| | |||||
| * | [dep-upgrade-202402] refactor dependencies: move all as workspace deps | Alex Auvolat | 2024-02-05 | 1 | -12/+7 |
| | | |||||
| * | make all garage_db::Engine variants un-conditional | Zdenek Crha | 2024-01-22 | 1 | -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 engine | Zdenek Crha | 2024-01-18 | 1 | -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.1 | Alex Auvolat | 2024-01-16 | 1 | -1/+1 |
| | | |||||
* | | bump crate versions to 0.10.0v0.10.0-beta1 | Alex Auvolat | 2024-01-11 | 1 | -1/+1 |
|/ | |||||
* | bump version to v0.9.0v0.9.0next | Alex Auvolat | 2023-10-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'main' into next | Alex Auvolat | 2023-10-10 | 2 | -78/+0 |
|\ | |||||
| * | Move convert_db command into main garage binaryconvert-db-main-binary | Alex Auvolat | 2023-10-10 | 2 | -74/+0 |
| | | |||||
* | | garage_db: refactor transactions and add on_commit mechanism | Alex Auvolat | 2023-09-21 | 6 | -58/+63 |
| | | |||||
* | | Merge branch 'main' into next | Alex Auvolat | 2023-09-11 | 1 | -1/+1 |
|\| | |||||
| * | update version to 0.8.4v0.8.4hold-netapp-0.5.2 | Alex Auvolat | 2023-09-05 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'main' into nextv0.9.0-beta1 | Alex Auvolat | 2023-08-29 | 1 | -4/+4 |
|\| | |||||
| * | bump version to 0.8.3v0.8.3-rc1 | Alex Auvolat | 2023-08-28 | 1 | -1/+1 |
| | | |||||
| * | cargo: Updated pretty_env_logger v0.4.0 -> v0.5.0. | Jonathan Davies | 2023-08-28 | 1 | -1/+1 |
| | | |||||
| * | garage/db: cargo: Updated rusqlite to 0.29. | Jonathan Davies | 2023-08-28 | 1 | -1/+1 |
| | | |||||
| * | don't build sqlite by default | trinity-1686a | 2023-06-26 | 1 | -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 defaults | Alex Auvolat | 2023-05-17 | 3 | -6/+18 |
| | | |||||
* | | Merge branch 'main' into next | Alex Auvolat | 2023-05-09 | 1 | -1/+1 |
|\| | |||||
| * | Fix undefined macro warn! on 32-bit | Jakub Jirutka | 2023-05-07 | 1 | -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 next | Alex Auvolat | 2023-04-25 | 1 | -5/+5 |
|\| | |||||
| * | Prepare for v0.8.2 | Alex Auvolat | 2023-03-13 | 1 | -1/+1 |
| | | |||||
| * | db/Cargo.toml: Updated rusqlite from 0.27 to 0.28. | Jonathan Davies | 2023-01-26 | 1 | -1/+1 |
| | | |||||
| * | Cargo.toml: Loosen tracing dependency to just 0.1. | Jonathan Davies | 2023-01-26 | 1 | -1/+1 |
| | | |||||
| * | {db,util}/Cargo.toml: Updated mktemp from 0.4 to 0.5. | Jonathan Davies | 2023-01-26 | 1 | -1/+1 |
| | | |||||
| * | Cargo.toml: Updated clap from 3.1.18 to 4.1. | Jonathan Davies | 2023-01-26 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'main' into next | Alex Auvolat | 2023-01-04 | 4 | -1/+16 |
|\| | |||||
| * | Bump everything to v0.8.1 | Alex Auvolat | 2023-01-02 | 1 | -1/+1 |
| | | |||||
| * | cli: prettier table in garage stats | Alex Auvolat | 2022-12-13 | 3 | -0/+15 |
| | | |||||
* | | Merge commit 'ec12d6c' into next | Alex Auvolat | 2022-12-11 | 1 | -3/+0 |
|\ \ | |/ |/| | |||||
| * | Return more info when layout's .check() fails, fix compilation, fix test | Alex Auvolat | 2022-11-08 | 1 | -2/+0 |
| | | |||||
| * | Merge branch 'main' into optimal-layout | Alex Auvolat | 2022-11-07 | 1 | -4/+9 |
| |\ | |||||
| * | | cargo fmt | Mendes | 2022-10-10 | 1 | -1/+0 |
| | | | |||||
| * | | Tests written in layout.rs | Mendes | 2022-10-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | added staged_parameters to ClusterLayout removed the serde(default) -> will need a migration function | ||||
* | | | put sled as default feature in garage_db | Alex Auvolat | 2022-11-21 | 1 | -0/+1 |
| |/ |/| | |||||
* | | Fix conditional testing in garage_db | Alex Auvolat | 2022-10-14 | 1 | -4/+9 |
|/ | |||||
* | Add warnings when features are not included in build | Alex Auvolat | 2022-09-07 | 1 | -0/+3 |
| | |||||
* | Make all DB engines optional build features | Alex Auvolat | 2022-09-06 | 2 | -3/+9 |
| | |||||
* | Remove Heed default features | Alex Auvolat | 2022-09-05 | 1 | -1/+1 |
| | |||||
* | Allow linking against system-provided libsqlite | Jakub Jirutka | 2022-09-03 | 1 | -1/+2 |
| | | | | | | | | | | | | | | Unfortunately, rusqlite uses the opposite logic for enabling/disabling bundled libraries to others (libsodium-sys, zstd-sys). Cargo features are very limited and doesn't allow to enable feature A in a dependency iff feature B is disabled. Note, lmdb-rkv-sys doesn't need any special treatment because it automatically links against system liblmdb if found via pkgconf. Linux distros should build garage with `--no-default-features --features system-libs` to disable bundled-libs and enable system-libs. | ||||
* | Uniformize tracing::* imports (hopefully fixes 32-bit build)fix-32bit-build | Alex Auvolat | 2022-07-15 | 3 | -3/+3 |
| | |||||
* | Background task manager (#332) | Alex | 2022-07-08 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | - [x] New background worker trait - [x] Adapt all current workers to use new API - [x] Command to list currently running workers, and whether they are active, idle, or dead - [x] Error reporting - Optimizations - [x] Merkle updater: several items per iteration - [ ] Use `tokio::task::spawn_blocking` where appropriate so that CPU-intensive tasks don't block other things going on - scrub: - [x] have only one worker with a channel to start/pause/cancel - [x] automatic scrub - [x] ability to view and change tranquility from CLI - [x] persistence of a few info - [ ] Testing Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/332 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me> | ||||
* | improve internal item counter mechanisms and implement bucket quotas (#326) | Alex | 2022-06-15 | 4 | -0/+30 |
| | | | | | | | | | | | | | | | | - [x] Refactoring of internal counting API - [x] Repair procedure for counters (it's an offline procedure!!!) - [x] New counter for objects in buckets - [x] Add quotas to buckets struct - [x] Add CLI to manage bucket quotas - [x] Add admin API to manage bucket quotas - [x] Apply quotas by adding checks on put operations - [x] Proof-read Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/326 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me> |