[misc] remove auto keyword and lambda
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
# check tenant has multiple ls
|
||||
|
||||
connection sys;
|
||||
|
||||
let $breakLoop=0;
|
||||
let $i=0;
|
||||
let $fail = 0;
|
||||
@ -15,7 +14,7 @@ while ($breakLoop == 0) {
|
||||
if ($lsCnt > 1) {
|
||||
--inc $breakLoop
|
||||
}
|
||||
if ($i >= 300) {
|
||||
if ($i >= 3000) {
|
||||
--inc $fail
|
||||
--inc $breakLoop
|
||||
}
|
||||
@ -73,7 +72,7 @@ while ($breakLoop == 0)
|
||||
if ($lsCnt > 1) {
|
||||
--inc $breakLoop
|
||||
}
|
||||
if ($i >= 300) {
|
||||
if ($i >= 3000) {
|
||||
--inc $fail
|
||||
--inc $breakLoop
|
||||
}
|
||||
|
||||
@ -864,8 +864,13 @@ eval alter tenant mysql set primary_zone = "$saved_primary_zone";
|
||||
|
||||
if ($client_session_id_version == 2) {
|
||||
--disable_query_log
|
||||
eval alter proxyconfig set proxy_id = $proxy_id;
|
||||
# **Note**
|
||||
# must recover client_session_id_version before recover proxy_id
|
||||
# otherwise, will report:
|
||||
# ERROR:
|
||||
# When reset client_session_id_version to v1, proxy_id must be set to less than 255
|
||||
alter proxyconfig set client_session_id_version = 2;
|
||||
eval alter proxyconfig set proxy_id = $proxy_id;
|
||||
--enable_query_log
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user