mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #1906 from yichengq/261
rafthttp: log the type of message that is dropped when sending
This commit is contained in:
commit
d4dcd39b83
@ -153,7 +153,8 @@ func (s *sender) Send(m raftpb.Message) error {
|
||||
case s.q <- data:
|
||||
return nil
|
||||
default:
|
||||
log.Printf("sender: reach the maximal serving to %s", s.u)
|
||||
log.Printf("sender: dropping %s because maximal number %d of sender buffer entries to %s has been reached",
|
||||
m.Type, senderBufSize, s.u)
|
||||
return fmt.Errorf("reach maximal serving")
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user