aboutsummaryrefslogtreecommitdiff
path: root/src/model
Commit message (Collapse)AuthorAgeFilesLines
* remove async_trait for traits declared in garage_netAlex Auvolat9 days1-2/+0
|
* build with rust 1.82.0Alex Auvolat12 days1-1/+2
|
* nix, ci: build with CraneAlex Auvolat12 days1-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* use cargo-shear to remove many unused dependencies between cratesAlex Auvolat2025-01-311-3/+0
|
* api: better handling of helper errors to distinguish error codesAlex Auvolat2025-01-291-6/+0
|
* db-snapshot: allow to set directory where snapshots are storedBaptiste Jonglez2025-01-271-2/+8
| | | | Fix #926
* Fix all typosStefan Majer2025-01-167-15/+15
|
* fix formatting to comply with latest rustfmtAlex Auvolat2025-01-121-1/+2
|
* feat: add use_local_tz configurationRenjaya Raga Zenta2024-11-231-8/+18
| | | | Used in lifecycle_worker to determine midnight time
* fix bit/byte inversion in rpc secret error messagetrinity-1686a2024-11-071-1/+1
|
* Bump to version 1.0.1v1.0.1rel-v1.0.1Alex Auvolat2024-09-221-1/+1
|
* Improve error message for malformed RPC secret keyimprove-secret-error-messageMaximilien R.2024-08-081-1/+1
|
* [next-0.10] bump version number to 1.0v1.0.0-rc1Alex Auvolat2024-03-281-1/+1
|
* Merge branch 'main' into next-0.10Alex Auvolat2024-03-281-1/+1
|\
| * [fix-buffering] implement `block_ram_buffer_max` to avoid excessive RAM usageAlex Auvolat2024-03-271-1/+5
| |
* | [next-0.10] fixes to k2v rpc + comment fixesAlex Auvolat2024-03-272-10/+5
| |
* | [s3-checksum] implement x-amz-checksum-* headersAlex Auvolat2024-03-262-7/+55
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-03-191-0/+43
|\|
| * [bucket-id-prefix] CLI: allow manipulating buckets by prefixes of their full IDsbucket-id-prefixAlex Auvolat2024-03-191-0/+43
| |
* | [block-ref-repair] Block refcount recalculation and repairAlex Auvolat2024-03-192-0/+47
| | | | | | | | | | | | | | | | | | | | - We always recalculate the reference count of a block before deleting it locally, to make sure that it is indeed zero. - If we had to fetch a remote block but we were not able to get it, check that refcount is indeed > 0. - Repair procedure that checks everything
* | Merge branch 'main' into next-0.10Alex Auvolat2024-03-184-9/+157
|\|
| * [db-snapshot] implement meta_auto_snapshot_intervalAlex Auvolat2024-03-154-1/+156
| |
| * [disable-scrub] implement a `disable_scrub` configuration optionAlex Auvolat2024-03-141-8/+1
| |
* | Merge pull request 'Remove Sled' (#767) from rm-sled into next-0.10Alex2024-03-123-14/+2
|\ \ | | | | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/767
| * | [rm-sled] Remove counted_tree_hackAlex Auvolat2024-03-081-7/+1
| | |
| * | [rm-sled] Remove the Sled database engineAlex Auvolat2024-03-082-7/+1
| | |
* | | Merge pull request 'Remove migration path from Garage v0.5' (#766) from ↵Alex2024-03-088-338/+5
|\ \ \ | |/ / |/| | | | | | | | | | | rm-migration into next-0.10 Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/766
| * | [rm-migration] Remove migration path from Garage v0.5rm-migrationAlex Auvolat2024-03-088-338/+5
| | |
* | | Merge branch 'main' into next-0.10Alex Auvolat2024-03-081-93/+19
|\ \ \ | |/ / |/| / | |/
| * [factor-db-open] Combine logic for opening db enginesfactor-db-openAlex Auvolat2024-03-081-93/+19
| |
* | Merge pull request 'ReplicationMode -> ConsistencyMode+ReplicationFactor' ↵Alex2024-03-071-12/+11
|\ \ | | | | | | | | | | | | | | | (#750) from yuka/garage:split-consistency-mode into next-0.10 Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/750
| * | ReplicationMode -> ConsistencyMode+ReplicationFactorYureka2024-03-071-12/+11
| | |
* | | [sse-c] Remove special case for Content-Type headersse-cAlex Auvolat2024-03-072-3/+18
| | |
* | | [sse-c] Implement SSE-C encryptionAlex Auvolat2024-03-072-3/+162
|/ /
* | refactor: remove max_write_errors and max_faultsYureka2024-03-041-1/+0
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-03-041-0/+7
|\|
| * Merge pull request 'add request context helper' (#751) from ↵Alex2024-03-041-0/+7
| |\ | | | | | | | | | | | | | | | yuka/garage:req-ctx into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/751
| | * add request context helperYureka2024-03-041-0/+7
| | |
| * | [rel-0.9.3] Bump version to 0.9.3v0.9.3Alex Auvolat2024-03-041-1/+1
| |/
| * [rel-0.9.2] Bump version to v0.9.2v0.9.2rel-0.9.2Alex Auvolat2024-03-011-1/+1
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-226-383/+426
|\|
| * [lock-createbucket] Add node-global lock for bucket/key operations (fix #723)lock-createbucketAlex Auvolat2024-02-226-383/+426
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-154-7/+6
|\|
| * [import-netapp] import Netapp code into Garage codebaseAlex Auvolat2024-02-154-7/+6
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-133-29/+29
|\|
| * [dep-upgrade-202402] remove useless mutAlex Auvolat2024-02-082-9/+9
| |
| * [dep-upgrade-202402] refactor dependencies: move all as workspace depsAlex Auvolat2024-02-051-20/+20
| |
| * Bump version to 0.9.1v0.9.1rel-v0.9.1Alex Auvolat2024-01-161-1/+1
| |
* | bump crate versions to 0.10.0v0.10.0-beta1Alex Auvolat2024-01-111-1/+1
| |
* | layout: add helper for cached/external values to centralize recomputationAlex Auvolat2023-11-152-3/+3
| |