aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli
Commit message (Collapse)AuthorAgeFilesLines
* fix logic in `garage layout skip-dead-nodes` + fix typo (fix #879)fix-skip-dead-nodesAlex Auvolat2024-09-221-12/+24
|
* fix build when lmdb feature is disabled (fix #800)fix-800Alex Auvolat2024-08-251-0/+2
|
* 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.
* [net-fixes] fix issues with local peer address (fix #761)Alex Auvolat2024-03-211-10/+11
|
* [block-ref-repair] mention `garage block repair-rc` in documentationAlex Auvolat2024-03-191-1/+1
|
* [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-182-0/+18
|\
| * [db-snapshot] add garage meta snapshot cli operationAlex Auvolat2024-03-152-0/+18
| |
* | Merge pull request 'Remove Sled' (#767) from rm-sled into next-0.10Alex2024-03-122-5/+1
|\ \ | | | | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/767
| * | [rm-sled] Remove counted_tree_hackAlex Auvolat2024-03-081-4/+0
| | |
| * | [rm-sled] Remove the Sled database engineAlex Auvolat2024-03-081-1/+1
| | |
* | | Merge pull request 'Remove migration path from Garage v0.5' (#766) from ↵Alex2024-03-082-25/+0
|\ \ \ | |/ / |/| | | | | | | | | | | rm-migration into next-0.10 Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/766
| * | [rm-migration] Remove migration path from Garage v0.5rm-migrationAlex Auvolat2024-03-082-25/+0
| | |
* | | Merge branch 'main' into next-0.10Alex Auvolat2024-03-081-47/+7
|\ \ \ | |/ / |/| / | |/
| * [factor-db-open] Combine logic for opening db enginesfactor-db-openAlex Auvolat2024-03-081-47/+7
| |
* | Merge branch 'main' into next-0.10Alex Auvolat2024-02-133-18/+54
|\|
| * [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
* | cli: improvements to the layout commands when multiple layouts are liveAlex Auvolat2023-12-083-27/+48
| |
* | layout: allow sync update tracker to progress with only quorumsAlex Auvolat2023-12-071-3/+3
| |
* | layout cli: safer skip-dead-nodes commandAlex Auvolat2023-12-073-21/+49
| |
* | admin: more info in admin GetClusterStatusAlex Auvolat2023-11-281-4/+5
| |
* | cli: remove historic layout info from statusAlex Auvolat2023-11-271-18/+0
| |
* | cli: add layout history and layout assume-sync commandsAlex Auvolat2023-11-273-2/+139
| |
* | cli: show when nodes are draining metadataAlex Auvolat2023-11-271-64/+108
| |
* | layou: implement ack lockingAlex Auvolat2023-11-151-1/+1
| |
* | layout: add helper for cached/external values to centralize recomputationAlex Auvolat2023-11-151-2/+1
| |
* | layout: refactoring of all_nodesAlex Auvolat2023-11-141-3/+3
| |
* | layout admin: add missing calls to update_hashAlex Auvolat2023-11-091-1/+2
| |
* | layout: refactor to use a RwLock on LayoutHistoryAlex Auvolat2023-11-091-4/+2
| |
* | layout: more refactoringAlex Auvolat2023-11-091-2/+4
| |
* | layout: use separate CRDT for staged layout changesAlex Auvolat2023-11-093-22/+33
| |
* | cluster layout: adapt all uses of ClusterLayout to LayoutHistoryAlex Auvolat2023-11-082-23/+32
|/
* 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
| |