File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 19
19
20
20
source ../common/backup-env.sh
21
21
22
+ echo " Topology flags at start of restart_tablets.sh: $TOPOLOGY_FLAGS "
23
+
22
24
echo " =============================== This is version 23 restart tablets ==============================="
23
25
for i in 100 101 102; do
24
26
CELL=zone1 TABLET_UID=$i ../common/backup-scripts/mysqlctl-up.sh
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ sleep 5
43
43
echo " add ${cell} CellInfo"
44
44
set +e
45
45
# shellcheck disable=SC2086
46
- command vtctldclient --server internal --topo-implementation consul --topo-global-server-address " ${CONSUL_SERVER} :${consul_http_port} " AddCellInfo \
46
+ command vtctldclient --server internal --topo_implementation consul --topo_global_server_address " ${CONSUL_SERVER} :${consul_http_port} " AddCellInfo \
47
47
--root " /vitess/${cell} " \
48
48
--server-address " ${CONSUL_SERVER} :${consul_http_port} " \
49
49
" ${cell} "
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ if [[ "${uid: -1}" -gt 1 ]]; then
34
34
fi
35
35
36
36
echo " Starting v23 backup vttablet for $alias ..."
37
+ echo " Topology flags inherited at start of v23 backup vttablet: $TOPOLOGY_FLAGS "
38
+ export TOPOLOGY_FLAGS=" --topo_implementation etcd2 --topo_global_server_address $ETCD_SERVER --topo_global_root /vitess/global"
39
+ echo " Topology flags at start of v23 backup vttablet, after explicitly setting: $TOPOLOGY_FLAGS "
40
+
37
41
38
42
# shellcheck disable=SC2086
39
43
vttablet \
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ echo "Started zk servers."
51
51
# Add the CellInfo description for the $CELL cell.
52
52
# If the node already exists, it's fine, means we used existing data.
53
53
set +e
54
- command vtctldclient --server internal --topo-implementation zk2 --topo-global-server-address " ${ZK_SERVER} " AddCellInfo \
54
+ command vtctldclient --server internal --topo_implementation zk2 --topo_global_server_address " ${ZK_SERVER} " AddCellInfo \
55
55
--root " /vitess/${cell} " \
56
56
--server-address " ${ZK_SERVER} " \
57
57
" ${cell} "
You can’t perform that action at this time.
0 commit comments