mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #14698 from ahrtr/raft_warn_20221107
raft: change the log from debug to warning when uncommitted size exceeds threshold
This commit is contained in:
commit
f64bed6033
@ -646,7 +646,7 @@ func (r *raft) appendEntry(es ...pb.Entry) (accepted bool) {
|
|||||||
}
|
}
|
||||||
// Track the size of this uncommitted proposal.
|
// Track the size of this uncommitted proposal.
|
||||||
if !r.increaseUncommittedSize(es) {
|
if !r.increaseUncommittedSize(es) {
|
||||||
r.logger.Debugf(
|
r.logger.Warningf(
|
||||||
"%x appending new entries to log would exceed uncommitted entry size limit; dropping proposal",
|
"%x appending new entries to log would exceed uncommitted entry size limit; dropping proposal",
|
||||||
r.id,
|
r.id,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user