Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | massively speed up compilation of garage_api_admin by not using async_traitrefactor-admin | Alex Auvolat | 6 days | 11 | -68/+4 |
| | |||||
* | cli_v2: implement LaunchRepairOperation and remove old stuff | Alex Auvolat | 6 days | 18 | -283/+214 |
| | |||||
* | cli_v2: implement Get{Node,Cluster}Statistics | Alex Auvolat | 6 days | 8 | -229/+259 |
| | |||||
* | cli_v2: implement CreateMetadataSnapshot | Alex Auvolat | 6 days | 9 | -68/+94 |
| | |||||
* | admin api: reorder things | Alex Auvolat | 8 days | 1 | -34/+32 |
| | |||||
* | admin api: impl RequestHandler for MetricsRequest | Alex Auvolat | 8 days | 4 | -73/+84 |
| | |||||
* | cli_v2: implement RetryBlockResync and PurgeBlocks | Alex Auvolat | 8 days | 6 | -165/+212 |
| | |||||
* | cli_v2: implement ListBlockErrors and GetBlockInfo | Alex Auvolat | 8 days | 14 | -210/+346 |
| | |||||
* | cli_v2: add local_api_request with crazy type bound | Alex Auvolat | 8 days | 3 | -33/+37 |
| | |||||
* | cli_v2: implement ListWorkers and GetWorkerInfo | Alex Auvolat | 8 days | 13 | -188/+324 |
| | |||||
* | admin api: base infrastructure for local endpoints | Alex Auvolat | 8 days | 17 | -236/+619 |
| | | | | | | | | | | | | admin api: rename EndpointHandler into RequestHandler to avoid confusion with RPC wip: infrastructure for local api calls admin api: fix things admin api: first local endpoint to work with new scheme admin api: implement SetWorkerVariable | ||||
* | cli_v2: migrate cleanupincompleteuploads to Admin API | Alex Auvolat | 8 days | 8 | -66/+134 |
| | | | | admin api: add CleanupIncompleteUploads spec | ||||
* | Merge branch 'main' into next-v2 | Alex Auvolat | 8 days | 15 | -7865/+1169 |
|\ | |||||
| * | Merge pull request 'upgrade Rust compiler and Cargo dependencies' (#951) ↵ | Alex | 8 days | 6 | -556/+898 |
| |\ | | | | | | | | | | | | | | | | from nix-crane into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/951 | ||||
| | * | update all Cargo dependencies except AWS crates and their dependenciesnix-crane | Alex Auvolat | 8 days | 1 | -546/+886 |
| | | | |||||
| | * | build with rust 1.82.0 | Alex Auvolat | 8 days | 5 | -10/+12 |
| | | | |||||
| * | | Merge pull request 'compile with crane' (#950) from nix-crane into main | Alex | 8 days | 16 | -7316/+280 |
| |\| | | | | | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/950 | ||||
| | * | nix, ci: build with Crane | Alex Auvolat | 8 days | 16 | -7316/+280 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes our dependency on cargo2nix, which was causing us some issues. Whereas cargo2nix creates one Nix derivation per crate, Crane uses only two derivations: 1. Build dependencies only 2. Build the final binary This means that during the second step, no caching can be done. For instance, if we do a change in garage_model, we need to recompile all of the Garage crates including those that do not depend on garage_model. On the upside, this allows all of the Garage crates to be built at once using cargo build logic, which is optimized for high parallelism and better pipelining between all of the steps of the build. All in all, this makes most builds faster than cargo2nix. A few other changes have been made to the build scripts and CI: - Unit tests are now run within a Nix derivation. In fact, we have different derivations to run the tests using LMDB and Sqlite as metadata db engines. - For debug builds, most CI steps now run in parallel (with the notable exception of the smoke test that runs after the build, which is inevitable). - We no longer pass the GIT_VERSION argument when building debug builds and running the tests. This means that dev binaries and test binaries don't know the exact version of Garage they are from. That shouldn't be an issue in most cases. - The not-dynamic.sh scripts has been fixed to fail if the file does not exist. | ||||
* | | Merge branch 'main' into next-v2 | Alex Auvolat | 10 days | 1 | -3/+3 |
|\| | |||||
| * | Merge pull request 'woodpecker: use parallel nix-build in debug builds' ↵ | Alex | 10 days | 1 | -3/+3 |
| |\ | | | | | | | | | | | | | | | | (#949) from nix-parallel into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/949 | ||||
| | * | woodpecker: use parallel nix-build in debug builds | Alex Auvolat | 10 days | 1 | -3/+3 |
| |/ | |||||
* | | Merge branch 'main' into next-v2 | Alex Auvolat | 10 days | 77 | -845/+874 |
|\| | |||||
| * | Merge pull request 'split garage_api in garage_api_{common,s3,k2v,admin}' ↵ | Alex | 10 days | 67 | -819/+841 |
| |\ | | | | | | | | | | | | | | | | (#947) from split-garage-api into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/947 | ||||
| | * | fix ci for more test cratessplit-garage-api | Alex Auvolat | 11 days | 1 | -1/+4 |
| | | | |||||
| | * | fix tests | Alex Auvolat | 11 days | 5 | -3/+7 |
| | | | |||||
| | * | cargo defs: simplify and fix descriptions | Alex Auvolat | 11 days | 4 | -13/+10 |
| | | | |||||
| | * | update cargo.nix | Alex Auvolat | 11 days | 1 | -202/+138 |
| | | | |||||
| | * | use cargo-shear to remove many unused dependencies between crates | Alex Auvolat | 11 days | 15 | -356/+3 |
| | | | |||||
| | * | split s3/cors.rs into also common/cors.rs | Alex Auvolat | 11 days | 11 | -186/+179 |
| | | | |||||
| | * | fix things up | Alex Auvolat | 11 days | 34 | -102/+130 |
| | | | |||||
| | * | wip: split garage_api into garage_api_{common,s3,k2v,admin} | Alex Auvolat | 11 days | 52 | -195/+609 |
| |/ | |||||
| * | Merge pull request 'table::insert_many: avoid failure with zero items (fix ↵ | Alex | 11 days | 1 | -0/+4 |
| |\ | | | | | | | | | | | | | | | | #915)' (#946) from fix-915 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/946 | ||||
| | * | table::insert_many: avoid failure with zero items (fix #915)fix-915 | Alex Auvolat | 12 days | 1 | -0/+4 |
| |/ | |||||
* | | Merge pull request 'admin refactoring: refactor CLI to use Admin API ↵ | Alex | 12 days | 19 | -1414/+1485 |
|\ \ | | | | | | | | | | | | | | | | requests (step 2)' (#943) from refactor-admin into next-v2 Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/943 | ||||
| * | | cli_v2: fix garage status | Alex Auvolat | 12 days | 2 | -56/+41 |
| | | | |||||
| * | | cli_v2: merge util.rs into layout.rs | Alex Auvolat | 12 days | 4 | -121/+116 |
| | | | |||||
| * | | cli_v2: error messages | Alex Auvolat | 12 days | 1 | -6/+6 |
| | | | |||||
| * | | convert cli key operations to admin rpc | Alex Auvolat | 12 days | 7 | -307/+247 |
| | | | |||||
| * | | fix garage status output | Alex Auvolat | 12 days | 1 | -1/+1 |
| | | | |||||
| * | | admin api: convert most bucket operations | Alex Auvolat | 12 days | 10 | -640/+581 |
| | | | |||||
| * | | cli: migrate layout remove, apply, revert | Alex Auvolat | 12 days | 3 | -102/+65 |
| | | | |||||
| * | | wip: migrate garage status and garage layout assign | Alex Auvolat | 12 days | 8 | -355/+486 |
| | | | |||||
| * | | wip: proxy admin api requests through admin rpc, prepare new cli | Alex Auvolat | 12 days | 6 | -78/+194 |
|/ / | |||||
* | | Merge pull request 'admin API refactoring (step 1)' (#939) from ↵ | Alex | 13 days | 22 | -1121/+3212 |
|\ \ | | | | | | | | | | | | | | | | refactor-admin into next-v2 Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/939 | ||||
| * | | admin api: remove log message | Alex Auvolat | 13 days | 1 | -2/+0 |
| | | | |||||
| * | | admin api: fix panic on GetKeyInfo with no args | Alex Auvolat | 13 days | 1 | -9/+13 |
| | | | |||||
| * | | admin api: small fixes | Alex Auvolat | 13 days | 6 | -10/+41 |
| | | | |||||
| * | | admin api: clearer syntax for AddBucketAlias and RemoveBucketAlias | Alex Auvolat | 13 days | 7 | -67/+76 |
| | | | |||||
| * | | admin api: merge calls to manage global/local aliases | Alex Auvolat | 13 days | 5 | -222/+86 |
| | | | |||||
| * | | admin api: rename allow/deny api calls in api v2 | Alex Auvolat | 13 days | 5 | -28/+28 |
| | | |