@@ -33,10 +33,14 @@ if [[ "${uid: -1}" -gt 1 ]]; then
33
33
tablet_type=rdonly
34
34
fi
35
35
36
- echo " Starting v23 backup vttablet for $alias ..."
37
- echo " Topology flags inherited at start of v23 backup vttablet: $TOPOLOGY_FLAGS "
36
+ # Additional logging and explicit topology flags for vttablet for the backup local example
37
+ # to ensure it uses the underscored topology flags that are required for older vttablet versions.
38
+ // TODO: in v25 we can start using the local example env.sh and common scripts and delete the extra
39
+ // ones created for backup upgrade/downgrade tests to work.
40
+ echo " Starting backup vttablet for $alias ..."
41
+ echo " Topology flags inherited at start of backup vttablet: $TOPOLOGY_FLAGS "
38
42
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 "
43
+ echo " Topology flags at start of backup vttablet, after explicitly setting: $TOPOLOGY_FLAGS "
40
44
41
45
42
46
# shellcheck disable=SC2086
@@ -69,14 +73,6 @@ for i in $(seq 0 300); do
69
73
sleep 0.1
70
74
done
71
75
72
-
73
- echo " ======================= vttablet.out start ======================="
74
- cat $VTDATAROOT /$tablet_dir /vttablet.out
75
- echo " ======================= vttablet.out end ======================="
76
- echo " ======================= vttablet logs start ======================="
77
- cat $VTDATAROOT /tmp/* vttablet*
78
- echo " ======================= vttablet logs end ======================="
79
-
80
76
# check one last time
81
77
curl -I " http://$hostname :$port /debug/status" || fail " tablet could not be started!"
82
78
0 commit comments