Skip to content

Commit

Permalink
Merge branch 'master' into checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Jan 22, 2021
2 parents fdc4771 + d4881ba commit d3850c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cluster/spec/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ func (i *MonitorInstance) InitConfig(
if servers, found := topoHasField("TiFlashServers"); found {
for i := 0; i < servers.Len(); i++ {
flash := servers.Index(i).Interface().(TiFlashSpec)
uniqueHosts.Insert(flash.Host)
cfig.AddTiFlashLearner(flash.Host, uint64(flash.FlashProxyStatusPort))
cfig.AddTiFlash(flash.Host, uint64(flash.StatusPort))
}
Expand Down

0 comments on commit d3850c1

Please sign in to comment.