Skip to content

Commit

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

Automated cherry pick of #9437
  • Loading branch information
jpbetz authored Mar 28, 2018
2 parents 39ea00b + 0a45603 commit 4acfe50
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 4acfe50

Please sign in to comment.