aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli
Commit message (Collapse)AuthorAgeFilesLines
* [dep-upgrade-202402] cargo clippy fixesAlex Auvolat2024-02-081-2/+2
|
* make all garage_db::Engine variants un-conditionalZdenek Crha2024-01-221-0/+8
| | | | | | | | | | | Having all Engine enum variants conditional causes compilation errors when *none* of the DB engine features is enabled. This is not an issue for full garage build, but affects crates that use garage_db as dependency. Change all variants to be present at all times. It solves compilation errors and also allows us to better differentiate between invalid DB engine name and engine with support not compiled in current binary.
* convert_db: cleanup naming and comments for open overridesZdenek Crha2024-01-221-6/+6
|
* convert_db: prevent conversion between same input/output engineZdenek Crha2024-01-181-12/+13
| | | | | | | | | | | | | | | | Use optional DB open overrides for both input and output database. Duplicating the same override flag for input/output would result in too many, too long flags. It would be too costly for very rare edge-case where converting between same DB engine, just with different flags. Because overrides flags for different engines are disjoint and we are preventing conversion between same input/ouput DB engine, we can have only one set. The override flag will be passed either to input or output, based on engine type it belongs to. It will never be passed to both of them and cause unwelcome surprise to user.
* convert_db: allow LMDB map size overrideZdenek Crha2024-01-171-4/+29
|
* help, comments: make clear that full-length node ID = public keyAlex Auvolat2024-01-162-4/+6
| | | | Generally, avoid using the "public key" terminology
* convert_db: fix buildAlex Auvolat2023-10-101-1/+1
|
* Merge branch 'main' into nextAlex Auvolat2023-10-103-0/+77
|\
| * Move convert_db command into main garage binaryconvert-db-main-binaryAlex Auvolat2023-10-103-0/+73
| |
* | cli: more precise doc commentAlex Auvolat2023-10-041-2/+2
| |
* | new layout: improve display and fix commentsAlex Auvolat2023-09-181-3/+3
| |
* | new layout: make zone_redundancy optionnal (if not set, is maximum)Alex Auvolat2023-09-182-17/+24
| |
* | new layout: improve output displayAlex Auvolat2023-09-121-51/+38
| |
* | 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
| |
* | Merge branch 'main' into nextAlex Auvolat2023-06-133-4/+9
|\|
| * fix timestamps wrapping around in `garage block list-errors` (fix #584)fix-future-timestampsAlex Auvolat2023-06-121-1/+6
| |
| * Split format_table into separate crate and reduce k2v-client dependenciesformat_table-v0.1.0Alex Auvolat2023-05-173-3/+3
| |
* | 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-093-15/+25
| |
* | Add multipart upload repairAlex Auvolat2023-06-091-0/+3
| |
* | updaet block admin for new multipartupload modelsAlex Auvolat2023-06-092-12/+34
| |
* | Merge branch 'main' into nextAlex Auvolat2023-04-254-20/+48
|\|
| * fix cli display bugk2v-watch-range-2Alex Auvolat2023-01-261-1/+1
| |
| * more fixesAlex Auvolat2023-01-262-3/+3
| |
| * Disk space reportAlex Auvolat2023-01-262-2/+18
| | | | | | | | 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-042-4/+18
| |
| * Uniform framework for bg variable managementAlex Auvolat2023-01-043-17/+15
| |
* | Changed all instances of assignation to assignment.Jonathan Davies2023-01-052-3/+3
| |
* | 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-043-34/+200
|\|
| * Implement `block retry-now` and `block purge`Alex Auvolat2022-12-132-1/+2
| |
| * Implement `block list-errors` and `block info`Alex Auvolat2022-12-133-9/+108
| |
| * cli: new worker info commandAlex Auvolat2022-12-133-4/+65
| |
| * cli: rename resync-n-workers into resync-worker-countAlex Auvolat2022-12-131-2/+2
| |
| * Prettier worker list table; remove useless CLI log messagesAlex Auvolat2022-12-121-25/+30
| |
* | Slightly simplify code at placesAlex Auvolat2022-11-081-7/+4
| |
* | Return more info when layout's .check() fails, fix compilation, fix testAlex Auvolat2022-11-081-11/+21
| |
* | Use bytes as capacity unitsAlex Auvolat2022-11-072-6/+16
| |
* | Style improvementsAlex Auvolat2022-11-072-11/+11
| |
* | 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
| |
* | Improved the statistics displayed in layout showMendes2022-10-111-24/+45
| | | | | | | | corrected a few bugs
* | cargo fmtMendes2022-10-102-46/+55
| |
* | Tests written in layout.rsMendes2022-10-101-2/+2
| | | | | | | | | | added staged_parameters to ClusterLayout removed the serde(default) -> will need a migration function
* | Corrected two bugs:Mendes2022-10-061-1/+5
| | | | | | | | | | - self.node_id_vec was not properly updated when the previous ring was empty - ClusterLayout::merge was not considering changes in the layout parameters
* | Added a CLI command to update the parameters for the layout computation (for ↵Mendes2022-10-052-3/+46
| | | | | | | | now, only the zone redundancy)