Skip to content

Commit

Permalink
local example: fix typos
Browse files Browse the repository at this point in the history
The tablet kills were inverted between 100 vs 200
Also added a delete of all data on teardown

Signed-off-by: Sugu Sougoumarane <[email protected]>
  • Loading branch information
sougou committed Dec 9, 2018
1 parent 43aa7e9 commit c009ca7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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 @@ -21,6 +21,6 @@ set -e
# shellcheck disable=SC2128
script_root=$(dirname "${BASH_SOURCE}")

CELL=zone1 UID_BASE=100 "$script_root/vttablet-down.sh"
CELL=zone1 UID_BASE=200 "$script_root/vttablet-down.sh"

disown -a
4 changes: 3 additions & 1 deletion examples/local/401_teardown.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set -e
script_root=$(dirname "${BASH_SOURCE}")

./vtgate-down.sh
CELL=zone1 UID_BASE=200 "$script_root/vttablet-down.sh"
CELL=zone1 UID_BASE=100 "$script_root/vttablet-down.sh"
CELL=zone1 UID_BASE=300 "$script_root/vttablet-down.sh"
CELL=zone1 UID_BASE=400 "$script_root/vttablet-down.sh"
./vtctld-down.sh
Expand All @@ -36,4 +36,6 @@ else
CELL=zone1 "$script_root/zk-down.sh"
fi

rm -r $VTDATAROOT/*

disown -a

0 comments on commit c009ca7

Please sign in to comment.