From 88e0830560c6b03087313ff3c45bcc82687dd6b4 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Thu, 18 Oct 2018 11:47:50 -0700 Subject: [PATCH] CHANGELOG-3.4: add "raft.Config.MaxUncommittedEntriesSize" change Signed-off-by: Gyuho Lee --- CHANGELOG-3.4.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG-3.4.md b/CHANGELOG-3.4.md index 48cd548aa..f03af6b3b 100644 --- a/CHANGELOG-3.4.md +++ b/CHANGELOG-3.4.md @@ -445,6 +445,9 @@ Note: **v3.5 will deprecate `etcd --log-package-levels` flag for `capnslog`**; ` - Improve [Raft `becomeLeader` and `stepLeader`](https://github.com/etcd-io/etcd/pull/9073) by keeping track of latest `pb.EntryConfChange` index. - Previously record `pendingConf` boolean field scanning the entire tail of the log, which can delay hearbeat send. - Fix [missing learner nodes on `(n *node) ApplyConfChange`](https://github.com/etcd-io/etcd/pull/9116). +- Add [`raft.Config.MaxUncommittedEntriesSize`](https://github.com/etcd-io/etcd/pull/10167) to limit the total size of the uncommitted entries in bytes. + - Once exceeded, raft returns `raft.ErrProposalDropped` error. + - Prevent [unbounded Raft log growth](https://github.com/cockroachdb/cockroach/issues/27772). - Add [`raft.Ready.CommittedEntries` pagination using `raft.Config.MaxSizePerMsg`](https://github.com/etcd-io/etcd/pull/9982). - This prevents out-of-memory errors if the raft log has become very large and commits all at once. - Fix [correctness bug in CommittedEntries pagination](https://github.com/etcd-io/etcd/pull/10063).