aboutsummaryrefslogtreecommitdiff
path: root/src/garage/cli/convert_db.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix build when lmdb feature is disabled (fix #800)fix-800Alex Auvolat2024-08-251-0/+2
|
* [rm-sled] Remove the Sled database engineAlex Auvolat2024-03-081-1/+1
|
* [factor-db-open] Combine logic for opening db enginesfactor-db-openAlex Auvolat2024-03-081-47/+7
|
* [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
|
* convert_db: fix buildAlex Auvolat2023-10-101-1/+1
|
* Merge branch 'main' into nextAlex Auvolat2023-10-101-5/+9
|
* Move convert_db command into main garage binaryconvert-db-main-binaryAlex Auvolat2023-10-101-0/+65