From a671e3ebd1c1d2b56e396bb1be725a64457b5744 Mon Sep 17 00:00:00 2001 From: Benjamin Wang Date: Mon, 7 Nov 2022 17:17:48 +0800 Subject: [PATCH] raft: change the log from debug to warning when uncommitted size exceeds max threshold Signed-off-by: Benjamin Wang --- raft/raft.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raft/raft.go b/raft/raft.go index 9ecd91869..a0c7b6f07 100644 --- a/raft/raft.go +++ b/raft/raft.go @@ -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, )