mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft: change the log from debug to warning when uncommitted size exceeds max threshold
Signed-off-by: Benjamin Wang <wachao@vmware.com>
This commit is contained in:
parent
5268db50ce
commit
a671e3ebd1
@ -643,7 +643,7 @@ func (r *raft) appendEntry(es ...pb.Entry) (accepted bool) {
|
||||
}
|
||||
// Track the size of this uncommitted proposal.
|
||||
if !r.increaseUncommittedSize(es) {
|
||||
r.logger.Debugf(
|
||||
r.logger.Warningf(
|
||||
"%x appending new entries to log would exceed uncommitted entry size limit; dropping proposal",
|
||||
r.id,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user