Skip to content

Commit

Permalink
Merge pull request #9501 from jpbetz/automated-cherry-pick-of-#9437-r…
Browse files Browse the repository at this point in the history
…elease-3.1

Automated cherry pick of #9437
  • Loading branch information
jpbetz committed Mar 28, 2018
2 parents 98e390f + 8f0eea5 commit 2832bc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions rafthttp/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ func (p *peer) send(m raftpb.Message) {
plog.MergeWarningf("dropped internal raft message to %s since %s's sending buffer is full (bad/overloaded network)", p.id, name)
}
plog.Debugf("dropped %s to %s since %s's sending buffer is full", m.Type, p.id, name)
sentFailures.WithLabelValues(types.ID(m.To).String()).Inc()
}
}

Expand Down
1 change: 1 addition & 0 deletions rafthttp/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func (g *remote) send(m raftpb.Message) {
plog.MergeWarningf("dropped internal raft message to %s since sending buffer is full (bad/overloaded network)", g.id)
}
plog.Debugf("dropped %s to %s since sending buffer is full", m.Type, g.id)
sentFailures.WithLabelValues(types.ID(m.To).String()).Inc()
}
}

Expand Down

0 comments on commit 2832bc2

Please sign in to comment.