From c133cb777ed288c7c3f893b2f5e398f9385cde27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=82=8E=E6=B3=BC?= Date: Wed, 28 Aug 2024 12:32:25 +0800 Subject: [PATCH] Doc: add change-log 0.9.15 --- change-log.md | 18 +++++++++++++++++- change-log/{v0.9.14.md => v0.9.15.md} | 16 ++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) rename change-log/{v0.9.14.md => v0.9.15.md} (74%) diff --git a/change-log.md b/change-log.md index 069a35eb8..916f74374 100644 --- a/change-log.md +++ b/change-log.md @@ -1,9 +1,10 @@ -## v0.9.14 +## v0.9.15 Summary: - Fixed: - [0b1293f3](https://github.com/datafuselabs/openraft/commit/0b1293f3499de8d2e3dfb7b0d06f37e08c8ac759) Should not update `vote` when seeing higher vote in `RequestVote` response. + - [94b1e843](https://github.com/datafuselabs/openraft/commit/94b1e84374e52bdc2e317d7abf5cfa9fb1970254) Clarify that receiving an equal vote does not grant leadership. - Added: - [5f5d7e9f](https://github.com/datafuselabs/openraft/commit/5f5d7e9f60ff2e86af078d2c20401636de2c19f7) Add `TypeConfigExt` to simplify `RaftTypeConfig` Access. @@ -32,6 +33,21 @@ Detail: This bug is introduced in: f0a9e34b12bc937170803dc60a4e2c12de9212ef +- Fixed: [94b1e843](https://github.com/datafuselabs/openraft/commit/94b1e84374e52bdc2e317d7abf5cfa9fb1970254) Clarify that receiving an equal vote does not grant leadership.; by 张炎泼; 2024-08-28 + + A node's `vote` may be updated when a leader observes a higher vote. + In such cases, the leader updates its local vote and steps down. + However, this vote update does not imply that the node accepts the + higher vote as valid for leadership, as it has not yet compared their + logs. + + In this commit, re-enable `VoteResponse.vote_granted` to indicate a vote + is granted. + + This commit also fix: + + - Fix: #1236 + ### Added: - Added: [5f5d7e9f](https://github.com/datafuselabs/openraft/commit/5f5d7e9f60ff2e86af078d2c20401636de2c19f7) Add `TypeConfigExt` to simplify `RaftTypeConfig` Access; by 张炎泼; 2024-07-03 diff --git a/change-log/v0.9.14.md b/change-log/v0.9.15.md similarity index 74% rename from change-log/v0.9.14.md rename to change-log/v0.9.15.md index 94eb68d02..2eff593e8 100644 --- a/change-log/v0.9.14.md +++ b/change-log/v0.9.15.md @@ -2,6 +2,7 @@ Summary: - Fixed: - [0b1293f3](https://github.com/datafuselabs/openraft/commit/0b1293f3499de8d2e3dfb7b0d06f37e08c8ac759) Should not update `vote` when seeing higher vote in `RequestVote` response. + - [94b1e843](https://github.com/datafuselabs/openraft/commit/94b1e84374e52bdc2e317d7abf5cfa9fb1970254) Clarify that receiving an equal vote does not grant leadership. - Added: - [5f5d7e9f](https://github.com/datafuselabs/openraft/commit/5f5d7e9f60ff2e86af078d2c20401636de2c19f7) Add `TypeConfigExt` to simplify `RaftTypeConfig` Access. @@ -30,6 +31,21 @@ Detail: This bug is introduced in: f0a9e34b12bc937170803dc60a4e2c12de9212ef +- Fixed: [94b1e843](https://github.com/datafuselabs/openraft/commit/94b1e84374e52bdc2e317d7abf5cfa9fb1970254) Clarify that receiving an equal vote does not grant leadership.; by 张炎泼; 2024-08-28 + + A node's `vote` may be updated when a leader observes a higher vote. + In such cases, the leader updates its local vote and steps down. + However, this vote update does not imply that the node accepts the + higher vote as valid for leadership, as it has not yet compared their + logs. + + In this commit, re-enable `VoteResponse.vote_granted` to indicate a vote + is granted. + + This commit also fix: + + - Fix: #1236 + ### Added: - Added: [5f5d7e9f](https://github.com/datafuselabs/openraft/commit/5f5d7e9f60ff2e86af078d2c20401636de2c19f7) Add `TypeConfigExt` to simplify `RaftTypeConfig` Access; by 张炎泼; 2024-07-03