aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* rename Condition into RedirectCondition in internal modelAlex Auvolat9 days2-5/+7
|
* Merge branch 'next-v2' into 1686a/s3-redirectsAlex Auvolat9 days47-3731/+5183
|\
| * Merge branch 'main' into next-v2Alex Auvolat2025-02-0522-63/+21
| |\
| * | massively speed up compilation of garage_api_admin by not using async_traitrefactor-adminAlex Auvolat2025-02-0511-68/+4
| | |
| * | cli_v2: implement LaunchRepairOperation and remove old stuffAlex Auvolat2025-02-0517-282/+213
| | |
| * | cli_v2: implement Get{Node,Cluster}StatisticsAlex Auvolat2025-02-057-229/+257
| | |
| * | cli_v2: implement CreateMetadataSnapshotAlex Auvolat2025-02-059-68/+94
| | |
| * | admin api: reorder thingsAlex Auvolat2025-02-031-34/+32
| | |
| * | admin api: impl RequestHandler for MetricsRequestAlex Auvolat2025-02-034-73/+84
| | |
| * | cli_v2: implement RetryBlockResync and PurgeBlocksAlex Auvolat2025-02-036-165/+212
| | |
| * | cli_v2: implement ListBlockErrors and GetBlockInfoAlex Auvolat2025-02-0314-210/+346
| | |
| * | cli_v2: add local_api_request with crazy type boundAlex Auvolat2025-02-033-33/+37
| | |
| * | cli_v2: implement ListWorkers and GetWorkerInfoAlex Auvolat2025-02-0313-188/+324
| | |
| * | admin api: base infrastructure for local endpointsAlex Auvolat2025-02-0317-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 Auvolat2025-02-036-66/+72
| | | | | | | | | | | | admin api: add CleanupIncompleteUploads spec
| * | Merge branch 'main' into next-v2Alex Auvolat2025-02-0173-486/+634
| |\ \
| * | | cli_v2: fix garage statusAlex Auvolat2025-01-302-56/+41
| | | |
| * | | cli_v2: merge util.rs into layout.rsAlex Auvolat2025-01-304-121/+116
| | | |
| * | | cli_v2: error messagesAlex Auvolat2025-01-301-6/+6
| | | |
| * | | convert cli key operations to admin rpcAlex Auvolat2025-01-307-307/+247
| | | |
| * | | fix garage status outputAlex Auvolat2025-01-301-1/+1
| | | |
| * | | admin api: convert most bucket operationsAlex Auvolat2025-01-3010-640/+581
| | | |
| * | | cli: migrate layout remove, apply, revertAlex Auvolat2025-01-303-102/+65
| | | |
| * | | wip: migrate garage status and garage layout assignAlex Auvolat2025-01-308-355/+486
| | | |
| * | | wip: proxy admin api requests through admin rpc, prepare new cliAlex Auvolat2025-01-306-78/+194
| | | |
| * | | admin api: remove log messageAlex Auvolat2025-01-291-2/+0
| | | |
| * | | admin api: fix panic on GetKeyInfo with no argsAlex Auvolat2025-01-291-9/+13
| | | |
| * | | admin api: small fixesAlex Auvolat2025-01-294-8/+39
| | | |
| * | | admin api: clearer syntax for AddBucketAlias and RemoveBucketAliasAlex Auvolat2025-01-295-45/+51
| | | |
| * | | admin api: merge calls to manage global/local aliasesAlex Auvolat2025-01-293-111/+65
| | | |
| * | | admin api: rename allow/deny api calls in api v2Alex Auvolat2025-01-293-22/+22
| | | |
| * | | admin api: rename bucket aliasing operationsAlex Auvolat2025-01-293-46/+46
| | | |
| * | | fix test_website_check_domainAlex Auvolat2025-01-292-3/+17
| | | |
| * | | admin api: fix CORS to work in browserAlex Auvolat2025-01-293-6/+15
| | | |
| * | | admin api: make all requests and responses (de)serializableAlex Auvolat2025-01-293-60/+79
| | | |
| * | | admin api: update semantics of some endpoints, and update docAlex Auvolat2025-01-295-26/+44
| | | |
| * | | admin api: add compatibility from v1/ to v2/Alex Auvolat2025-01-294-68/+115
| | | |
| * | | admin api: refactor using macroAlex Auvolat2025-01-298-150/+113
| | | |
| * | | admin api: new router_v2 with unified path syntaxAlex Auvolat2025-01-2913-291/+447
| | | |
| * | | admin api: make all handlers impls of a single traitAlex Auvolat2025-01-295-502/+761
| | | |
| * | | admin api: create structs for all requests/responess in src/api/admin/api.rsAlex Auvolat2025-01-296-455/+721
| | | |
| * | | decrease write quorumQuentin Dufour2025-01-291-6/+3
| | | |
* | | | Merge branch 'main' into 1686a/s3-redirectstrinity-1686a2025-02-08117-666/+875
|\ \ \ \ | | |_|/ | |/| |
| * | | remove async_trait for TableRepairAlex Auvolat2025-02-051-6/+3
| | | |
| * | | remove async_trait used in generic_server.rsAlex Auvolat2025-02-058-21/+3
| | | |
| * | | remove async_trait for traits declared in garage_netAlex Auvolat2025-02-0515-54/+35
| | | |
| * | | build with rust 1.82.0Alex Auvolat2025-02-032-2/+4
| | | |
| * | | nix, ci: build with CraneAlex Auvolat2025-02-032-4/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | fix testsAlex Auvolat2025-01-313-2/+4
| | |
| * | cargo defs: simplify and fix descriptionsAlex Auvolat2025-01-313-8/+8
| | |