aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/structs.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Allow setting index document and error document on the CLIAlex Auvolat2022-01-131-0/+8
|
* Implement key allow|deny --create-bucketAlex Auvolat2022-01-051-0/+18
|
* New buckets for 0.6.0: migration code and build filesAlex Auvolat2022-01-041-0/+22
|
* Model changesAlex Auvolat2022-01-041-0/+5
|
* Implement bucket alias and bucket unaliasAlex Auvolat2022-01-041-0/+31
|
* Improve how node roles are assigned in Garagev0.5-beta1Alex Auvolat2021-11-161-24/+54
| | | | | | | | | | | | | | | | | - change the terminology: the network configuration becomes the role table, the configuration of a nodes becomes a node's role - the modification of the role table takes place in two steps: first, changes are staged in a CRDT data structure. Then, once the user is happy with the changes, they can commit them all at once (or revert them). - update documentation - fix tests - implement smarter partition assignation algorithm This patch breaks the format of the network configuration: when migrating, the cluster will be in a state where no roles are assigned. All roles must be re-assigned and commited at once. This migration should not pose an issue.
* Safety: never voluntarily delete block in 10min interval after RC reaches zeroAlex Auvolat2021-11-081-2/+1
|