-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e0c14bc
commit 611dacb
Showing
6 changed files
with
35 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,14 +85,11 @@ docker compose -f ../docker-compose-test.yml run couch-migration check-couchdb-u | |
# change database metadata to match new node name | ||
# Move nodes one by one using move-node.js oldNode:newNode | ||
|
||
# Using env variables | ||
docker compose -f ../docker-compose-test.yml run -e SHARD_MAPPING="$shard_mapping" couch-migration move-node '{"[email protected]":"[email protected]"}' | ||
docker compose -f ../docker-compose-test.yml run couch-migration sh -c "echo '$shard_mapping' | move-node '{\"[email protected]\":\"[email protected]\"}'" | ||
|
||
# Using stdin | ||
docker compose -f ../docker-compose-test.yml run couch-migration sh -c "echo '$shard_mapping' | move-node '{\"[email protected]\":\"[email protected]\"}'" | ||
|
||
# Using env variables | ||
docker compose -f ../docker-compose-test.yml run -e SHARD_MAPPING="$shard_mapping" couch-migration move-node '{"[email protected]":"[email protected]"}' | ||
docker compose -f ../docker-compose-test.yml run couch-migration sh -c "echo '$shard_mapping' | move-node '{\"[email protected]\":\"[email protected]\"}'" | ||
|
||
docker compose -f ../docker-compose-test.yml run couch-migration verify | ||
|
||
|
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