Skip to content

Commit c009ca7

Browse files
committed
local example: fix typos
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]>
1 parent 43aa7e9 commit c009ca7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/local/306_down_shard_0.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ set -e
2121
# shellcheck disable=SC2128
2222
script_root=$(dirname "${BASH_SOURCE}")
2323

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

2626
disown -a

examples/local/401_teardown.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ set -e
2525
script_root=$(dirname "${BASH_SOURCE}")
2626

2727
./vtgate-down.sh
28-
CELL=zone1 UID_BASE=200 "$script_root/vttablet-down.sh"
28+
CELL=zone1 UID_BASE=100 "$script_root/vttablet-down.sh"
2929
CELL=zone1 UID_BASE=300 "$script_root/vttablet-down.sh"
3030
CELL=zone1 UID_BASE=400 "$script_root/vttablet-down.sh"
3131
./vtctld-down.sh
@@ -36,4 +36,6 @@ else
3636
CELL=zone1 "$script_root/zk-down.sh"
3737
fi
3838

39+
rm -r $VTDATAROOT/*
40+
3941
disown -a

0 commit comments

Comments
 (0)