aboutsummaryrefslogtreecommitdiff
path: root/src/block
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|\
| * Bump everything to v0.8.1Alex Auvolat2023-01-021-5/+5
| |
* | Simplified and more aggressive worker exit logicAlex Auvolat2022-12-142-3/+3
| |
* | Refactor background runner and get rid of job workerAlex Auvolat2022-12-141-5/+4
| |
* | Spawn all background workers in a separate stepAlex Auvolat2022-12-141-12/+19
|/
* Add block.rc_size, table.size and table.merkle_tree_size metricsAlex Auvolat2022-12-132-2/+13
|
* cli: prettier table in garage statsAlex Auvolat2022-12-131-0/+5
|
* Implement `block retry-now` and `block purge`Alex Auvolat2022-12-131-0/+18
|
* Implement `block list-errors` and `block info`Alex Auvolat2022-12-133-5/+48
|
* cli: new worker info commandAlex Auvolat2022-12-132-7/+10
|
* Prettier worker list table; remove useless CLI log messagesAlex Auvolat2022-12-122-39/+41
|
* RPC performance changesAlex Auvolat2022-09-192-21/+11
| | | | | | - configurable ping timeout - single, much higher, configurable RPC timeout - no more concurrency semaphore
* improvements in block managerAlex Auvolat2022-09-121-13/+16
|
* Merge branch 'lx-perf-improvements' into netapp-stream-bodyAlex Auvolat2022-09-081-4/+7
|\
| * Merge branch 'main' into lx-perf-improvementsAlex Auvolat2022-09-081-4/+8
| |\
| | * Merge branch 'main' into improve-depsAlex Auvolat2022-09-074-517/+675
| | |\
| | * | Bump versions to 0.8.0 (compatibility is broken already)Alex Auvolat2022-09-061-4/+4
| | | |
| | * | Add feature "system-libs" to enable linking against system librariesJakub Jirutka2022-09-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If this feature is enabled, libsodium-sys and zstd-sys will link dynamically against system-provided libraries instead of building and linking statically the bundled (possibly outdated and vulnerable) copies of them. This feature is intended mainly for linux package maintainers.
* | | | Merge branch 'lx-perf-improvements' into netapp-stream-bodyAlex Auvolat2022-09-064-520/+681
|\| | |
| * | | Merge branch 'main' into lx-perf-improvementsAlex Auvolat2022-09-054-511/+676
| |\ \ \ | | | |/ | | |/|
| | * | fix clippyresync-ajustable-speedAlex Auvolat2022-09-021-2/+2
| | | |
| | * | Ability to have up to 4 concurrently working resync workersAlex Auvolat2022-09-022-21/+83
| | | |
| | * | Make BlockManagerLocked fully private againAlex Auvolat2022-09-022-25/+24
| | | |
| | * | block manager: refactor: split resync into separate fileAlex Auvolat2022-09-024-552/+591
| | | |
| | * | Ability to dynamically set resync tranquilityAlex Auvolat2022-09-022-15/+73
| | |/
* | | Reenable node orderingAlex Auvolat2022-09-061-6/+4
| | |
* | | Apply PRIO_SECONDARY to block data transfersAlex Auvolat2022-09-011-3/+3
| | |
* | | Less strict timeoutsAlex Auvolat2022-09-011-2/+6
| | |
* | | Update to Netapp with OrderTag support and exploit OrderTagsAlex Auvolat2022-09-011-16/+39
| | |
* | | Fix bytes_read counterAlex Auvolat2022-08-311-4/+9
| | |
* | | Factor out node request order selection logic & use in managerAlex Auvolat2022-07-291-0/+2
| | |
* | | Use streaming in block managerAlex Auvolat2022-07-293-64/+225
| | |
* | | First adaptation to WIP netapp with streaming bodyAlex Auvolat2022-07-291-10/+9
|/ /
* | Performance improvements:Alex Auvolat2022-07-291-12/+15
| | | | | | | | | | - reduce contention on mutation_lock by having 256 of them - better lmdb defaults
* | Compute hashes on dedicated threadsAlex Auvolat2022-07-292-8/+15
|/
* Background task manager (#332)Alex2022-07-084-211/+564
| | | | | | | | | | | | | | | | | | | | | - [x] New background worker trait - [x] Adapt all current workers to use new API - [x] Command to list currently running workers, and whether they are active, idle, or dead - [x] Error reporting - Optimizations - [x] Merkle updater: several items per iteration - [ ] Use `tokio::task::spawn_blocking` where appropriate so that CPU-intensive tasks don't block other things going on - scrub: - [x] have only one worker with a channel to start/pause/cancel - [x] automatic scrub - [x] ability to view and change tranquility from CLI - [x] persistence of a few info - [ ] Testing Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/332 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me>