mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
app/vminsert/netstorage: add missing return
in storageNode.checkHealth on connection failure
This commit is contained in:
parent
464682f380
commit
85c1ccb8b8
1 changed files with 1 additions and 0 deletions
|
@ -198,6 +198,7 @@ func (sn *storageNode) checkHealth() {
|
|||
bc, err := sn.dial()
|
||||
if err != nil {
|
||||
logger.Warnf("cannot dial storageNode %q: %s", sn.dialer.Addr(), err)
|
||||
return
|
||||
}
|
||||
sn.bc = bc
|
||||
atomic.StoreUint32(&sn.broken, 0)
|
||||
|
|
Loading…
Reference in a new issue