File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ func (ah *PollerAsyncHandler) Init() {
150
150
151
151
log .Info ("number of healthy primary candidates" , "healthy_candidates" , len (healthyCandidates ))
152
152
if len (healthyCandidates ) == 0 {
153
- log .Info ("zero healthy candidates, querying fallback backend" ,
153
+ log .Debug ("zero healthy candidates, querying fallback backend" ,
154
154
"backend_name" , be .Name )
155
155
ah .cp .UpdateBackend (ah .ctx , be )
156
156
}
@@ -703,6 +703,11 @@ func (cp *ConsensusPoller) FilterCandidates(backends []*Backend) map[*Backend]*b
703
703
continue
704
704
}
705
705
if ! be .skipPeerCountCheck && bs .peerCount < cp .minPeerCount {
706
+ log .Debug ("backend peer count too low for inclusion in consensus" ,
707
+ "backend_name" , be .Name ,
708
+ "peer_count" , bs .peerCount ,
709
+ "min_peer_count" , cp .minPeerCount ,
710
+ )
706
711
continue
707
712
}
708
713
if ! bs .inSync {
You can’t perform that action at this time.
0 commit comments