aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'main' into next-v2next-v2Alex Auvolat6 days23-67/+21
|\
| * Merge pull request 'remove uses of #[async_trait]' (#952) from ↵HEADmainAlex6 days24-84/+40
| |\ | | | | | | | | | | | | | | | remove-async-trait into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/952
| | * remove async_trait for TableRepairAlex Auvolat6 days1-6/+3
| | |
| | * remove async_trait used in generic_server.rsAlex Auvolat6 days9-25/+3
| | |
| | * remove async_trait for traits declared in garage_netAlex Auvolat6 days15-54/+35
| |/
* | Merge pull request 'Admin API refactoring: convert existing commands to API ↵Alex6 days39-1530/+2236
|\ \ | | | | | | | | | | | | | | | requests (step 3)' (#945) from refactor-admin into next-v2 Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/945
| * | massively speed up compilation of garage_api_admin by not using async_traitrefactor-adminAlex Auvolat6 days11-68/+4
| | |
| * | cli_v2: implement LaunchRepairOperation and remove old stuffAlex Auvolat6 days18-283/+214
| | |
| * | cli_v2: implement Get{Node,Cluster}StatisticsAlex Auvolat6 days8-229/+259
| | |
| * | cli_v2: implement CreateMetadataSnapshotAlex Auvolat6 days9-68/+94
| | |
| * | admin api: reorder thingsAlex Auvolat8 days1-34/+32
| | |
| * | admin api: impl RequestHandler for MetricsRequestAlex Auvolat8 days4-73/+84
| | |
| * | cli_v2: implement RetryBlockResync and PurgeBlocksAlex Auvolat8 days6-165/+212
| | |
| * | cli_v2: implement ListBlockErrors and GetBlockInfoAlex Auvolat8 days14-210/+346
| | |
| * | cli_v2: add local_api_request with crazy type boundAlex Auvolat8 days3-33/+37
| | |
| * | cli_v2: implement ListWorkers and GetWorkerInfoAlex Auvolat8 days13-188/+324
| | |
| * | admin api: base infrastructure for local endpointsAlex Auvolat8 days17-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 APIAlex Auvolat8 days8-66/+134
|/ / | | | | | | admin api: add CleanupIncompleteUploads spec
* | Merge branch 'main' into next-v2Alex Auvolat8 days15-7865/+1169
|\|
| * Merge pull request 'upgrade Rust compiler and Cargo dependencies' (#951) ↵Alex8 days6-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-craneAlex Auvolat8 days1-546/+886
| | |
| | * build with rust 1.82.0Alex Auvolat8 days5-10/+12
| | |
| * | Merge pull request 'compile with crane' (#950) from nix-crane into mainAlex8 days16-7316/+280
| |\| | | | | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/950
| | * nix, ci: build with CraneAlex Auvolat8 days16-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-v2Alex Auvolat10 days1-3/+3
|\|
| * Merge pull request 'woodpecker: use parallel nix-build in debug builds' ↵Alex10 days1-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 buildsAlex Auvolat10 days1-3/+3
| |/
* | Merge branch 'main' into next-v2Alex Auvolat10 days77-845/+874
|\|
| * Merge pull request 'split garage_api in garage_api_{common,s3,k2v,admin}' ↵Alex10 days67-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-apiAlex Auvolat11 days1-1/+4
| | |
| | * fix testsAlex Auvolat11 days5-3/+7
| | |
| | * cargo defs: simplify and fix descriptionsAlex Auvolat11 days4-13/+10
| | |
| | * update cargo.nixAlex Auvolat11 days1-202/+138
| | |
| | * use cargo-shear to remove many unused dependencies between cratesAlex Auvolat11 days15-356/+3
| | |
| | * split s3/cors.rs into also common/cors.rsAlex Auvolat11 days11-186/+179
| | |
| | * fix things upAlex Auvolat11 days34-102/+130
| | |
| | * wip: split garage_api into garage_api_{common,s3,k2v,admin}Alex Auvolat11 days52-195/+609
| |/
| * Merge pull request 'table::insert_many: avoid failure with zero items (fix ↵Alex11 days1-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-915Alex Auvolat12 days1-0/+4
| |/
* | Merge pull request 'admin refactoring: refactor CLI to use Admin API ↵Alex12 days19-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 statusAlex Auvolat12 days2-56/+41
| | |
| * | cli_v2: merge util.rs into layout.rsAlex Auvolat12 days4-121/+116
| | |
| * | cli_v2: error messagesAlex Auvolat12 days1-6/+6
| | |
| * | convert cli key operations to admin rpcAlex Auvolat12 days7-307/+247
| | |
| * | fix garage status outputAlex Auvolat12 days1-1/+1
| | |
| * | admin api: convert most bucket operationsAlex Auvolat12 days10-640/+581
| | |
| * | cli: migrate layout remove, apply, revertAlex Auvolat12 days3-102/+65
| | |
| * | wip: migrate garage status and garage layout assignAlex Auvolat12 days8-355/+486
| | |
| * | wip: proxy admin api requests through admin rpc, prepare new cliAlex Auvolat12 days6-78/+194
|/ /
* | Merge pull request 'admin API refactoring (step 1)' (#939) from ↵Alex13 days22-1121/+3212
|\ \ | | | | | | | | | | | | | | | refactor-admin into next-v2 Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/939