Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion examples/local/303_reshard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@

source ../common/env.sh

vtctlclient Reshard -- --source_shards '0' --target_shards '-80,80-' Create customer.cust2cust
vtctldclient Reshard --workflow cust2cust --target-keyspace customer create --source-shards '0' --target-shards '-80,80-'

# Wait for the workflow to reach the running state.
wait_for_workflow_running customer cust2cust

2 changes: 1 addition & 1 deletion examples/local/304_switch_reads.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@

source ../common/env.sh

vtctlclient Reshard -- --tablet_types=rdonly,replica SwitchTraffic customer.cust2cust
vtctldclient Reshard --workflow cust2cust --target-keyspace customer switchtraffic --tablet-types "rdonly,replica"
3 changes: 2 additions & 1 deletion examples/local/305_switch_writes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@

source ../common/env.sh

vtctlclient Reshard -- --tablet_types=primary SwitchTraffic customer.cust2cust
vtctldclient Reshard --workflow cust2cust --target-keyspace customer switchtraffic --tablet-types "primary"

2 changes: 1 addition & 1 deletion examples/local/306_down_shard_0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

source ../common/env.sh

vtctlclient Reshard Complete customer.cust2cust
vtctldclient Reshard --workflow cust2cust --target-keyspace customer complete

for i in 200 201 202; do
CELL=zone1 TABLET_UID=$i ../common/scripts/vttablet-down.sh
Expand Down
Loading