mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-14 16:12:15 +01:00
app/vminsert/netstorage: do not increment vm_rpc_rows_lost_total when all the vmstorage nodes are unavailable, since vminsert retries sending the data instead of dropping it
This commit is contained in:
parent
6f94fb6842
commit
02b2064d8e
@ -143,7 +143,6 @@ func sendBufToReplicas(br *bufRows, snIdx, replicas int) bool {
|
||||
if attempts > len(storageNodes) {
|
||||
if i == 0 {
|
||||
// The data wasn't replicated at all.
|
||||
rowsLostTotal.Add(br.rows)
|
||||
logger.Warnf("cannot push %d bytes with %d rows to storage nodes, since all the nodes are temporarily unavailable; "+
|
||||
"re-trying to send the data soon", len(br.buf), br.rows)
|
||||
return false
|
||||
|
Loading…
Reference in New Issue
Block a user