aboutsummaryrefslogtreecommitdiff
path: root/src/block
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | block manager: fix indentation (why not detected by cargo fmt?)Alex Auvolat2023-09-111-16/+16
| |
* | block manager: fix bug where rebalance didn't delete old copiesAlex Auvolat2023-09-073-18/+59
| |
* | block manager: fix bugsAlex Auvolat2023-09-072-5/+26
| |
* | block manager: add rebalance operation to rebalance multi-hdd setupsAlex Auvolat2023-09-073-14/+106
| |
* | block manager: refactor and fix monitoring/statisticsAlex Auvolat2023-09-071-27/+20
| |
* | block manager: avoid incorrect data_dir configs and avoid losing filesAlex Auvolat2023-09-062-5/+44
| |
* | block manager: scrub checkpointingAlex Auvolat2023-09-061-50/+108
| |
* | block manager: fixes in layoutAlex Auvolat2023-09-061-23/+33
| |
* | block manager: refactoring & increase max worker count to 8Alex Auvolat2023-09-062-14/+14
| |
* | block manager: fix dir_not_emptyAlex Auvolat2023-09-061-2/+1
| |
* | block manager: refactoringAlex Auvolat2023-09-061-52/+44
| |
* | block manager: get rid of check_block_statusAlex Auvolat2023-09-062-56/+45
| |
* | block manager: move blocks in write_block if necessaryAlex Auvolat2023-09-061-12/+26
| |
* | block manager: use data paths from layoutAlex Auvolat2023-09-063-89/+104
| |
* | block manager: multi-directory layout computationAlex Auvolat2023-09-064-30/+255
| |
* | block manager: skeleton for multi-hdd supportAlex Auvolat2023-09-064-83/+221
| |
* | Merge branch 'main' into nextv0.9.0-beta1Alex Auvolat2023-08-291-2/+2
|\|
| * bump version to 0.8.3v0.8.3-rc1Alex Auvolat2023-08-281-1/+1
| |
| * cargo: Updated async-compression to 0.4.Jonathan Davies2023-06-281-1/+1
| |
* | Merge branch 'main' into nextAlex Auvolat2023-06-132-11/+5
|\|
| * Merge pull request 'cargo: tokio-1.28 and hyper-0.14.26 update' (#569) from ↵Alex2023-05-111-1/+1
| |\ | | | | | | | | | | | | | | | jpds/garage:tokio-1.28 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/569
| | * block/Cargo.toml: Bump tokio-util to 0.7.Jonathan Davies2023-05-091-1/+1
| | |
| * | *: apply clippy recommendations.Jonathan Davies2023-05-091-10/+4
| |/
* / Make fsync an option for meta and dataAlex Auvolat2023-06-091-13/+22
|/
* Merge pull request 'block/manager.rs: Prioritize raw blocks when no ↵Alex2023-05-091-5/+25
|\ | | | | | | | | | | compression configured' (#566) from jpds/garage:skip-compressed-blocks-scrub-no-compression into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/566
| * block/manager.rs: In is_block_compressed - check which compression_levelJonathan Davies2023-05-091-5/+25
| | | | | | | | | | is configured on a node and check for raw block first if compression is disabled (to help reduce syscalls during a scrub).
* | Declare garage crates using workspace.dependenciesJakub Jirutka2023-05-091-4/+4
|/ | | | | | | | This will allow to really disable "sled" feature without declaring `default-features = false` in every Cargo.toml where garage_db and garage_model is used. See https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
* block/repair.rs: Added log entries for scrub start/finish.Jonathan Davies2023-04-231-2/+12
|
* Prepare for v0.8.2Alex Auvolat2023-03-132-5/+6
|
* block/manager.rs: Set defaults for scrub_persister.Jonathan Davies2023-03-091-0/+1
|
* block/repair.rs: Added a timestamp argument toJonathan Davies2023-03-091-5/+5
| | | | randomize_next_scrub_run_time().
* block/repair.rs: Added migration for ScrubWorkerPersisted's time_next_run_scrub.Jonathan Davies2023-03-091-10/+44
| | | | Fixes: #520.
* block/manager.rs: Display scrub-next-run.Jonathan Davies2023-03-061-0/+3
|
* block/repair.rs: Added function and time_next_run_scrub with a random element ofJonathan Davies2023-03-061-11/+37
| | | | 10 days to SCRUB_INTERVAL to help balance scrub load across cluster.
* More clippy fixesAlex Auvolat2023-01-263-10/+10
|
* Cargo.toml: Loosen tracing dependency to just 0.1.Jonathan Davies2023-01-261-1/+1
|
* Cargo.toml: Updated zstd from 0.9 to 0.12.Jonathan Davies2023-01-231-1/+1
|
* block/metrics.rs: Added compression_level metric.Jonathan Davies2023-01-102-3/+22
|
* Merge pull request 'PutObject: better cleanup when request is interrupted in ↵Alex2023-01-041-4/+32
|\ | | | | | | | | | | the middle' (#462) from interrupted-cleanup into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/462
| * When saving block, delete .tmp file if we could not completeinterrupted-cleanupAlex Auvolat2023-01-031-4/+32
| |
* | Uniform framework for bg variable managementAlex Auvolat2023-01-043-86/+125
|/
* Make it explicit when using nonversioned encodingAlex Auvolat2023-01-031-1/+0
|
* Refactor how things are migratedAlex Auvolat2023-01-032-0/+2
|
* Merge branch 'main' into internals-reworkinternals-reworkAlex Auvolat2023-01-021-5/+5
|\