Skip to content

Commit f35c1fb

Browse files
committed
fix undeclared variable in MonitorQueryRules and comment out cluster.CheckRestartCookies
1 parent 062b5e8 commit f35c1fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cluster/cluster.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ func (cluster *Cluster) Run() {
753753
go cluster.refreshApps(wg)
754754
cluster.CheckWaitRunJobSSH()
755755
cluster.CheckDummyConfigSendCookies()
756-
cluster.CheckRestartCookies()
756+
// cluster.CheckRestartCookies()
757757

758758
// Monitor schema when shardproxy is used
759759
if cluster.Conf.MdbsProxyOn && cluster.StateMachine.SchemaMonitorEndTime+60 < time.Now().Unix() {
@@ -1934,9 +1934,9 @@ func (cluster *Cluster) MonitorQueryRules() {
19341934

19351935
if !found {
19361936
proxyIds = append(proxyIds, prx.Id)
1937-
myRule.Proxies = strings.Join(proxyIds, ",")
19381937
}
1939-
myRule.Proxies = strings.Join(duplicates, ",")
1938+
1939+
myRule.Proxies = strings.Join(proxyIds, ",")
19401940
} else {
19411941
myRule.Id = rule.Id
19421942
myRule.UserName = rule.UserName

0 commit comments

Comments
 (0)