Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build with rust 1.82.0 | Alex Auvolat | 14 hours | 2 | -2/+4 |
| | |||||
* | nix, ci: build with Crane | Alex Auvolat | 15 hours | 2 | -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 tests | Alex Auvolat | 4 days | 3 | -2/+4 |
| | |||||
* | cargo defs: simplify and fix descriptions | Alex Auvolat | 4 days | 3 | -8/+8 |
| | |||||
* | use cargo-shear to remove many unused dependencies between crates | Alex Auvolat | 4 days | 13 | -126/+3 |
| | |||||
* | split s3/cors.rs into also common/cors.rs | Alex Auvolat | 4 days | 10 | -179/+179 |
| | |||||
* | fix things up | Alex Auvolat | 4 days | 34 | -102/+130 |
| | |||||
* | wip: split garage_api into garage_api_{common,s3,k2v,admin} | Alex Auvolat | 4 days | 50 | -190/+425 |
| | |||||
* | table::insert_many: avoid failure with zero items (fix #915)fix-915 | Alex Auvolat | 5 days | 1 | -0/+4 |
| | |||||
* | api: better handling of helper errors to distinguish error codes | Alex Auvolat | 6 days | 12 | -29/+97 |
| | |||||
* | Merge pull request 's3 api: make x-amz-meta-* headers lowercase (fix #844)' ↵ | Alex | 7 days | 2 | -9/+6 |
|\ | | | | | | | | | | | (#938) from fix-844 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/938 | ||||
| * | s3 api: make x-amz-meta-* headers lowercase (fix #844)fix-844 | Alex Auvolat | 7 days | 2 | -9/+6 |
| | | |||||
* | | snapshot: sqlite: use a subdirectory for consistency with LMDB | Baptiste Jonglez | 8 days | 1 | -1/+4 |
|/ | | | | | | | | | | | | | | | | Currently, taking a snapshot of the metadata database with sqlite creates a sqlite file without extension with the following format: snapshots/2025-01-26T15:29:17Z This makes it hard to understand what kind of data this is, and is not consistent with LMDB: snapshots/2025-01-26T15:29:17Z/data.mdb With this change, we now get a directory with a single db.sqlite file: snapshots/2025-01-26T15:29:17Z/db.sqlite | ||||
* | db-snapshot: allow to set directory where snapshots are stored | Baptiste Jonglez | 8 days | 2 | -2/+11 |
| | | | | Fix #926 | ||||
* | Fix all typos | Stefan Majer | 2025-01-16 | 53 | -108/+108 |
| | |||||
* | fix formatting to comply with latest rustfmt | Alex Auvolat | 2025-01-12 | 2 | -2/+4 |
| | |||||
* | Formatting with | Vedad KAJTAZ | 2025-01-04 | 1 | -2/+2 |
| | |||||
* | formatting | Vedad KAJTAZ | 2025-01-04 | 1 | -3/+3 |
| | |||||
* | Fix #907 | Vedad KAJTAZ | 2025-01-04 | 1 | -0/+24 |
| | |||||
* | feat: add use_local_tz configuration | Renjaya Raga Zenta | 2024-11-23 | 2 | -8/+22 |
| | | | | Used in lifecycle_worker to determine midnight time | ||||
* | fix bit/byte inversion in rpc secret error message | trinity-1686a | 2024-11-07 | 1 | -1/+1 |
| | |||||
* | Bump to version 1.0.1v1.0.1rel-v1.0.1 | Alex Auvolat | 2024-09-22 | 10 | -10/+10 |
| | |||||
* | fix logic in `garage layout skip-dead-nodes` + fix typo (fix #879)fix-skip-dead-nodes | Alex Auvolat | 2024-09-22 | 2 | -13/+25 |
| | |||||
* | Tests: don't expect old value after transactional insert | Julien Kritter | 2024-09-12 | 1 | -2/+2 |
| | |||||
* | Don't fetch old values in cross-partition transactional inserts | Julien Kritter | 2024-09-12 | 3 | -33/+17 |
| | |||||
* | test: fix db tests | marvin-j97 | 2024-09-04 | 1 | -2/+2 |
| | |||||
* | dont assert deletion count in sqlite KV adapter | marvin-j97 | 2024-09-04 | 1 | -1/+0 |
| | |||||
* | perf(kv): dont retrieve values for write ops | marvin-j97 | 2024-09-04 | 3 | -24/+14 |
| | | | | see https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/851 | ||||
* | api servers: kill opened connections after SIGINT after 10s deadline (fix #806) | Alex Auvolat | 2024-08-25 | 1 | -15/+28 |
| | |||||
* | fix build when lmdb feature is disabled (fix #800)fix-800 | Alex Auvolat | 2024-08-25 | 1 | -0/+2 |
| | |||||
* | Merge pull request 'layout: discard old info when it is completely ↵ | Alex | 2024-08-24 | 1 | -9/+14 |
|\ | | | | | | | | | | | out-of-date (fix #841)' (#861) from fix-841 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/861 | ||||
| * | layout: discard old info when it is completely out-of-date (fix #841)fix-841 | Alex Auvolat | 2024-08-24 | 1 | -9/+14 |
| | | |||||
* | | Merge pull request 'don't modify postobject request before validating ↵ | Alex | 2024-08-24 | 1 | -15/+7 |
|\ \ | |/ |/| | | | | | | | policy' (#850) from trinity-1686a/garage:fix-acl-postobject into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/850 | ||||
| * | don't modify postobject request before validating policy | trinity-1686a | 2024-08-10 | 1 | -15/+7 |
| | | |||||
* | | force flag "no read ahead" on LMDBfix-lmdb-no-read-ahead | Quentin Dufour | 2024-08-17 | 1 | -0/+1 |
|/ | |||||
* | Improve error message for malformed RPC secret keyimprove-secret-error-message | Maximilien R. | 2024-08-08 | 1 | -1/+1 |
| | |||||
* | add rpc_public_addr_subnet config option | Florian Klink | 2024-06-05 | 3 | -6/+40 |
| | | | | | | | | | | In case `rpc_public_addr` is not set, but autodiscovery is used, this allows filtering the list of automatically discovered IPs to a specific subnet. For example, if nodes should pick *their* IP inside a specific subnet, but you don't want to explicitly write the IP down (as it's dynamic, or you want to share configs across nodes), you can use this option. | ||||
* | cli: clarify `garage block` is node-local | Florian Klink | 2024-05-07 | 1 | -1/+1 |
| | | | | | Prevents some of the confusion from https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/810. | ||||
* | [next-0.10] small updates to mention Garage v0.9.4 | Alex Auvolat | 2024-04-10 | 1 | -1/+1 |
| | |||||
* | [next-0.10] bump version number to 1.0v1.0.0-rc1 | Alex Auvolat | 2024-03-28 | 13 | -17/+18 |
| | |||||
* | Merge branch 'main' into next-0.10 | Alex Auvolat | 2024-03-28 | 9 | -63/+186 |
|\ | |||||
| * | [fix-buffering] change request sending strategy and fix prioritiesfix-buffering | Alex Auvolat | 2024-03-27 | 5 | -48/+83 |
| | | | | | | | | remove LAS, priorize new requests but otherwise just do standard queuing | ||||
| * | [fix-buffering] implement `block_ram_buffer_max` to avoid excessive RAM usage | Alex Auvolat | 2024-03-27 | 5 | -13/+104 |
| | | |||||
* | | [next-0.10] admin api: fix logic in get cluster status | Alex Auvolat | 2024-03-27 | 1 | -12/+16 |
| | | |||||
* | | [next-0.10] layout helper: rename & clarify updates to update trackers | Alex Auvolat | 2024-03-27 | 2 | -38/+27 |
| | | |||||
* | | [next-0.10] cache layout check result | Alex Auvolat | 2024-03-27 | 3 | -3/+11 |
| | | |||||
* | | [next-0.10] remove impl Deref for LayoutHelper | Alex Auvolat | 2024-03-27 | 5 | -57/+55 |
| | | |||||
* | | [next-0.10] fixes to k2v rpc + comment fixes | Alex Auvolat | 2024-03-27 | 4 | -10/+15 |
| | | |||||
* | | Merge branch 'main' into next-0.10 | Alex Auvolat | 2024-03-26 | 5 | -30/+112 |
|\| | |||||
| * | [disable-k2v-test] disable the other k2v poll test | Alex Auvolat | 2024-03-26 | 1 | -1/+2 |
| | |