This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PDS-265616] Handle runtime config in migration CLI (#6186)
AtlasDB CLI Migrate command supports optional `-frc / --fromRuntimeConfig` and `-mrc / --migrateRuntimeConfig` for specifying the runtime config file path for the initial and target KVSs. The optional `--inline-runtime-config` command allows for specifying the runtime config as a string for the initial KVS, and the optional `--runtime-config-root` command allows for specifying the config root within the file.
- Loading branch information
Showing
8 changed files
with
213 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
atlasdb-cli/src/test/resources/cli_test_runtime_config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
server: | ||
applicationConnectors: | ||
- type: http | ||
port: 3828 | ||
adminConnectors: | ||
- type: http | ||
port: 3829 | ||
|
||
atlasdb: | ||
sweep: | ||
enabled: true | ||
targetedSweep: | ||
enabled: true | ||
compact: | ||
enableCompaction: true | ||
keyValueService: | ||
type: cassandra | ||
servers: | ||
- 127.0.0.1:1337 | ||
replicationFactor: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
type: improvement | ||
improvement: | ||
description: AtlasDB CLI Migrate command supports optional `-frc / --fromRuntimeConfig` | ||
and `-mrc / --migrateRuntimeConfig` for specifying the runtime config file path | ||
for the initial and target KVSs. The optional `--inline-runtime-config` command | ||
allows for specifying the runtime config as a string for the initial KVS, and | ||
the optional `--runtime-config-root` command allows for specifying the config | ||
root within the file. | ||
links: | ||
- https://github.com/palantir/atlasdb/pull/6186 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters