aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/util.rs
Commit message (Collapse)AuthorAgeFilesLines
* updaet block admin for new multipartupload modelsAlex Auvolat2023-06-091-11/+32
|
* more fixesAlex Auvolat2023-01-261-1/+1
|
* bg var operation on all nodes at onceworker-getAlex Auvolat2023-01-041-2/+2
|
* Uniform framework for bg variable managementAlex Auvolat2023-01-041-0/+8
|
* Implement `block retry-now` and `block purge`Alex Auvolat2022-12-131-1/+1
|
* Implement `block list-errors` and `block info`Alex Auvolat2022-12-131-1/+58
|
* cli: new worker info commandAlex Auvolat2022-12-131-3/+58
|
* Prettier worker list table; remove useless CLI log messagesAlex Auvolat2022-12-121-25/+30
|
* Background task manager (#332)Alex2022-07-081-0/+58
| | | | | | | | | | | | | | | | | | | | | - [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-3/+44
| | | | | | | | | | | | | | | | - [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>
* Add a K2V client library and CLI (#303)trinity-1686a2022-05-181-29/+1
| | | | | | | | | lib.rs could use getting split in modules, but I'm not sure how exactly Co-authored-by: trinity-1686a <trinity@deuxfleurs.fr> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/303 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* Fix `layout show` to not show changes when there are no changes (#297)Alex2022-05-091-1/+1
| | | | | | | | | fixes #295, partially Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/297 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me>
* Hide deleted key in bucket info (fix #211)Alex Auvolat2022-02-021-0/+3
|
* Small CLI changesAlex Auvolat2022-01-051-5/+8
|
* Small changes in key model and refactoringnew-bucketsAlex Auvolat2022-01-041-14/+17
|
* New buckets for 0.6.0: make bucket id a SK and not a HK, CLI updatesAlex Auvolat2022-01-041-2/+42
|
* New buckets for 0.6.0: small changesAlex Auvolat2022-01-041-2/+2
| | | | | | | | | | | | - Fix bucket delete - fix merge of bucket creation date - Replace deletable with option in aliases Rationale: if two aliases point to conflicting bucket, resolving by making an arbitrary choice risks making data accessible when it shouldn't be. We'd rather resolve to deleting the alias until someone puts it back.
* New buckets for 0.6.0: small fixes, including:Alex Auvolat2022-01-041-1/+1
| | | | | | | | - ensure bucket names are correct aws s3 names - when making aliases, ensure timestamps of links in both ways are the same - fix small remarks by trinity - don't have a separate website_access field
* More complete output to bucket info and key infoAlex Auvolat2022-01-041-8/+65
|
* Model changesAlex Auvolat2022-01-041-2/+5
|
* Implement bucket alias and bucket unaliasAlex Auvolat2022-01-041-2/+9
|
* New model for bucketsAlex Auvolat2022-01-041-14/+39
|
* Fix clippy lints (fix #121)Alex Auvolat2021-10-261-1/+1
|
* Improve CLI, adapt tests, update documentationAlex Auvolat2021-10-251-0/+83