aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/structs.rs
Commit message (Collapse)AuthorAgeFilesLines
* cli: clarify `garage block` is node-localFlorian Klink2024-05-071-1/+1
| | | | | Prevents some of the confusion from https://git.deuxfleurs.fr/Deuxfleurs/garage/issues/810.
* [block-ref-repair] Block refcount recalculation and repairAlex Auvolat2024-03-191-1/+4
| | | | | | | | | | - 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-0/+15
|\
| * [db-snapshot] add garage meta snapshot cli operationAlex Auvolat2024-03-151-0/+15
| |
* | Merge pull request 'Remove Sled' (#767) from rm-sled into next-0.10Alex2024-03-121-4/+0
|\ \ | | | | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/767
| * | [rm-sled] Remove counted_tree_hackAlex Auvolat2024-03-081-4/+0
| | |
* | | [rm-migration] Remove migration path from Garage v0.5rm-migrationAlex Auvolat2024-03-081-22/+0
|/ /
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-131-3/+5
|\|
| * help, comments: make clear that full-length node ID = public keyAlex Auvolat2024-01-161-3/+5
| | | | | | | | Generally, avoid using the "public key" terminology
* | layout cli: safer skip-dead-nodes commandAlex Auvolat2023-12-071-4/+8
| |
* | cli: add layout history and layout assume-sync commandsAlex Auvolat2023-11-271-0/+16
| |
* | layout: use separate CRDT for staged layout changesAlex Auvolat2023-11-091-3/+3
|/
* Merge branch 'main' into nextAlex Auvolat2023-10-101-0/+6
|\
| * Move convert_db command into main garage binaryconvert-db-main-binaryAlex Auvolat2023-10-101-0/+6
| |
* | cli: more precise doc commentAlex Auvolat2023-10-041-2/+2
| |
* | new layout: make zone_redundancy optionnal (if not set, is maximum)Alex Auvolat2023-09-181-2/+2
| |
* | block manager: add rebalance operation to rebalance multi-hdd setupsAlex Auvolat2023-09-071-0/+3
| |
* | Merge branch 'main' into nextv0.9.0-beta1Alex Auvolat2023-08-291-1/+1
|\|
| * src/garage/cli: fix typoFlorian Klink2023-07-141-1/+1
| |
* | admin and cli: hide secret keys unless askedAlex Auvolat2023-06-141-2/+5
| |
* | garage key import: add checks and `--yes` CLI flag (fix #278)Alex Auvolat2023-06-131-0/+4
| |
* | fix mpu counter (add missing workers) and report info at appropriate placesAlex Auvolat2023-06-091-6/+6
| |
* | Add multipart upload repairAlex Auvolat2023-06-091-0/+3
| |
* | Merge branch 'main' into nextAlex Auvolat2023-04-251-15/+21
|\|
| * Disk space reportAlex Auvolat2023-01-261-0/+5
| | | | | | | | Report available disk space on nodes and calculate cluster-wide available space in `garage stats` (fix #479)
| * bg var operation on all nodes at onceworker-getAlex Auvolat2023-01-041-2/+16
| |
| * Uniform framework for bg variable managementAlex Auvolat2023-01-041-17/+4
| |
* | Changed all instances of assignation to assignment.Jonathan Davies2023-01-051-1/+1
| |
* | Merge pull request 'Changed all instances of 'key new' to 'key create' to ↵Alex2023-01-041-3/+3
|\ \ | | | | | | | | | | | | | | | make it the same as the bucket commands.' (#459) from jpds/garage:key-create-standardize into next Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/459
| * | Changed all instances of 'key new' to 'key create' to make it consistent as ↵Jonathan Davies2023-01-031-3/+3
| |/ | | | | | | bucket commands issued normally around the same time.
* | Merge branch 'main' into nextAlex Auvolat2023-01-041-10/+43
|\|
| * Implement `block retry-now` and `block purge`Alex Auvolat2022-12-131-0/+1
| |
| * Implement `block list-errors` and `block info`Alex Auvolat2022-12-131-8/+37
| |
| * cli: new worker info commandAlex Auvolat2022-12-131-0/+3
| |
| * cli: rename resync-n-workers into resync-worker-countAlex Auvolat2022-12-131-2/+2
| |
* | Use bytes as capacity unitsAlex Auvolat2022-11-071-2/+2
| |
* | Merge branch 'main' into optimal-layoutAlex Auvolat2022-11-071-0/+15
|\|
| * Add garage bucket cleanup-incomplete-uploads commandcleanup-uploads-commandAlex Auvolat2022-11-041-0/+15
| |
* | cargo fmtMendes2022-10-101-4/+3
| |
* | Added a CLI command to update the parameters for the layout computation (for ↵Mendes2022-10-051-1/+13
|/ | | | now, only the zone redundancy)
* Move version back into utilimprove-depsAlex Auvolat2022-09-071-1/+1
|
* Fix mergeAlex Auvolat2022-09-071-4/+4
|
* Merge branch 'main' into improve-depsAlex Auvolat2022-09-071-0/+19
|\
| * Ability to have up to 4 concurrently working resync workersAlex Auvolat2022-09-021-1/+4
| |
| * Ability to dynamically set resync tranquilityAlex Auvolat2022-09-021-0/+16
| |
* | Move GIT_VERSION injection later in build chain to reduce build timesAlex Auvolat2022-09-071-52/+52
|/
* Configure structopt to report the right versionv0.7.2_ci-test-2bug/reported-versionQuentin Dufour2022-08-111-50/+51
| | | | | | | | | | By default, structopt reports the value provided by the env var CARGO_PKG_VERSION, feeded by Cargo when reading Cargo.toml. However for Garage we use a versioning based on git, so we often report a version that is behind the real version. In this commit, we create garage_util::version::garage() that reports the right version and configure all structopt subcommands to call this function instead of using the env var.
* Background task manager (#332)Alex2022-07-081-2/+53
| | | | | | | | | | | | | | | | | | | | | - [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>
* improve internal item counter mechanisms and implement bucket quotas (#326)Alex2022-06-151-1/+46
| | | | | | | | | | | | | | | | - [x] Refactoring of internal counting API - [x] Repair procedure for counters (it's an offline procedure!!!) - [x] New counter for objects in buckets - [x] Add quotas to buckets struct - [x] Add CLI to manage bucket quotas - [x] Add admin API to manage bucket quotas - [x] Apply quotas by adding checks on put operations - [x] Proof-read Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/326 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me>
* Allow `garage layout assign` to assign to several nodes at onceAlex Auvolat2022-03-241-2/+3
|