aboutsummaryrefslogtreecommitdiff
path: root/src/block
Commit message (Collapse)AuthorAgeFilesLines
* build with rust 1.82.0Alex Auvolat34 hours1-1/+2
|
* nix, ci: build with CraneAlex Auvolat35 hours1-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 Auvolat4 days1-2/+0
|
* Fix all typosStefan Majer2025-01-161-3/+3
|
* fix formatting to comply with latest rustfmtAlex Auvolat2025-01-121-1/+2
|
* Bump to version 1.0.1v1.0.1rel-v1.0.1Alex Auvolat2024-09-221-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-283-8/+50
|\
| * [fix-buffering] change request sending strategy and fix prioritiesfix-bufferingAlex Auvolat2024-03-272-7/+19
| | | | | | | | remove LAS, priorize new requests but otherwise just do standard queuing
| * [fix-buffering] implement `block_ram_buffer_max` to avoid excessive RAM usageAlex Auvolat2024-03-272-1/+31
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-03-262-19/+53
|\|
| * [check-data-dir] add marker files in data directories (fix #601)check-data-dirAlex Auvolat2024-03-202-19/+53
| |
* | [block-ref-repair] rename rc's rc field to rc_tableAlex Auvolat2024-03-193-17/+17
| |
* | [block-ref-repair] Block refcount recalculation and repairAlex Auvolat2024-03-194-7/+90
| | | | | | | | | | | | | | | | | | | | - 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-181-31/+37
|\|
| * [disable-scrub] implement a `disable_scrub` configuration optionAlex Auvolat2024-03-141-31/+37
| |
| * [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
| |
* | [rm-sled] Remove counted_tree_hackAlex Auvolat2024-03-083-24/+15
| |
* | [rm-sled] Remove the Sled database engineAlex Auvolat2024-03-081-3/+3
| |
* | [sse-c] Implement SSE-C encryptionAlex Auvolat2024-03-073-12/+6
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-261-1/+11
|\|
| * [refactor-put] add ordering tag to blocks being sent to storage nodesAlex Auvolat2024-02-261-1/+11
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-233-142/+100
|\|
| * [refactor-block] simplify some morerefactor-blockAlex Auvolat2024-02-232-22/+5
| |
| * [refactor-block] add DataBlockStream typeAlex Auvolat2024-02-232-14/+18
| |
| * [refactor-block] refactor DataBlock and DataBlockPathAlex Auvolat2024-02-233-75/+85
| |
| * [refactor-block] simplify rpc_get_blockAlex Auvolat2024-02-232-24/+4
| |
| * [refactor-block] move read_stream_to_end to garage_netAlex Auvolat2024-02-231-18/+4
| |
| * [refactor-block] Remove redundant BlockStream typeAlex Auvolat2024-02-231-6/+1
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-152-1/+2
|\|
| * [import-netapp] import Netapp code into Garage codebaseAlex Auvolat2024-02-152-1/+2
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-132-24/+24
|\|
| * [dep-upgrade-202402] simplify/refactor GetObjectAlex Auvolat2024-02-051-4/+4
| |
| * [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: move block_read_nodes_of to rpc_helper to avoid double-lockingAlex Auvolat2023-12-081-1/+1
| | | | | | | | (in theory, this could have caused a deadlock)
* | block manager: read_block using old layout versions if necessaryAlex Auvolat2023-11-271-2/+4
| |
* | layou: implement ack lockingAlex Auvolat2023-11-151-1/+1
| |
* | table: take into account multiple write sets in insertsAlex Auvolat2023-11-142-5/+4
| |
* | layout: prepare for write setsAlex Auvolat2023-11-142-2/+3
| |
* | wip: split out layout management from System into separate LayoutManagerAlex Auvolat2023-11-092-7/+7
|/
* bump version to v0.9.0v0.9.0nextAlex Auvolat2023-10-101-1/+1
|
* garage_db: refactor transactions and add on_commit mechanismAlex Auvolat2023-09-211-2/+2
|
* Merge branch 'main' into nextAlex Auvolat2023-09-111-1/+1
|\
| * update version to 0.8.4v0.8.4hold-netapp-0.5.2Alex Auvolat2023-09-051-1/+1
| |
* | block repair: simpler/more robust iterator progress calculationAlex Auvolat2023-09-111-23/+14
| |
* | scrub: clear saved checkpoint when canceling scrubAlex Auvolat2023-09-111-0/+3
| |
* | block manager: remove data_dir fieldmultihddAlex Auvolat2023-09-111-3/+0
| |