Skip to content

Commit 5c3f214

Browse files
committed
Doc: add change-log for 0.8.3
1 parent f5fcad2 commit 5c3f214

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

change-log.md

+34
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
## v0.8.3
2+
3+
### Improved:
4+
5+
- Improved: [23f4a73b](https://github.com/datafuselabs/openraft/commit/23f4a73b2382d55deac849db1767519a91c23796) AppDataResponse does not need a Clone trait bound; by 张炎泼; 2023-03-09
6+
7+
- Fix: #703
8+
9+
- Improved: [664635e0](https://github.com/datafuselabs/openraft/commit/664635e0e6d29ea4fa84e6f579d0c785f3a513e7) loosen validity check with RaftState.snapshot_last_log_id(); by 张炎泼; 2023-03-10
10+
11+
A application may not persist snapshot. And when it restarted, the
12+
last-purged-log-id is not `None` but `snapshot_last_log_id()` is None.
13+
This is a valid state and should not emit error.
14+
15+
- Improved: [54aea8a2](https://github.com/datafuselabs/openraft/commit/54aea8a267741ca458c86ef1885041d244817c86) fix: delay election if a greater last log id is seen; by 张炎泼; 2023-03-14
16+
17+
If this node sees a greater last-log-id on another node, it will be less
18+
likely to be elected as a leader.
19+
In this case, it is necessary to sleep for a longer period of time
20+
`smaller_log_timeout` so that other nodes with a greater last-log-id
21+
have a chance to elect themselves.
22+
23+
Fix: such as state should be kept until next election, i.e., it should
24+
be a field of `Engine` instead of a `field` of `internal_server_state`.
25+
And this value should be greater than the `election_timeout` of every other node.
26+
27+
### Changed:
28+
29+
- Changed: [9ddb5715](https://github.com/datafuselabs/openraft/commit/9ddb5715a33902a83124f48ee33d75d490fcffa5) RaftState: make `RaftState.vote` private. Accesses vote via 2 new public methods: `vote_ref()` and `vote_last_modified()`.; by 张炎泼; 2023-03-12
30+
31+
- Changed: [3b4f4e18](https://github.com/datafuselabs/openraft/commit/3b4f4e186bca5404744d2940571974500d52734d) move log id related traits to mod `openraft::log_id`; by 张炎泼; 2023-03-14
32+
33+
Move trait `RaftLogId`, `LogIdOptionExt` and `LogIndexOptionExt` from `openraft::raft_types` to mod `openraft::log_id`
34+
135
## v0.8.2
236

337
### Changed:

change-log/v0.8.3.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
### Improved:
2+
3+
- Improved: [23f4a73b](https://github.com/datafuselabs/openraft/commit/23f4a73b2382d55deac849db1767519a91c23796) AppDataResponse does not need a Clone trait bound; by 张炎泼; 2023-03-09
4+
5+
- Fix: #703
6+
7+
- Improved: [664635e0](https://github.com/datafuselabs/openraft/commit/664635e0e6d29ea4fa84e6f579d0c785f3a513e7) loosen validity check with RaftState.snapshot_last_log_id(); by 张炎泼; 2023-03-10
8+
9+
A application may not persist snapshot. And when it restarted, the
10+
last-purged-log-id is not `None` but `snapshot_last_log_id()` is None.
11+
This is a valid state and should not emit error.
12+
13+
- Improved: [54aea8a2](https://github.com/datafuselabs/openraft/commit/54aea8a267741ca458c86ef1885041d244817c86) fix: delay election if a greater last log id is seen; by 张炎泼; 2023-03-14
14+
15+
If this node sees a greater last-log-id on another node, it will be less
16+
likely to be elected as a leader.
17+
In this case, it is necessary to sleep for a longer period of time
18+
`smaller_log_timeout` so that other nodes with a greater last-log-id
19+
have a chance to elect themselves.
20+
21+
Fix: such as state should be kept until next election, i.e., it should
22+
be a field of `Engine` instead of a `field` of `internal_server_state`.
23+
And this value should be greater than the `election_timeout` of every other node.
24+
25+
### Changed:
26+
27+
- Changed: [9ddb5715](https://github.com/datafuselabs/openraft/commit/9ddb5715a33902a83124f48ee33d75d490fcffa5) RaftState: make `RaftState.vote` private. Accesses vote via 2 new public methods: `vote_ref()` and `vote_last_modified()`.; by 张炎泼; 2023-03-12
28+
29+
- Changed: [3b4f4e18](https://github.com/datafuselabs/openraft/commit/3b4f4e186bca5404744d2940571974500d52734d) move log id related traits to mod `openraft::log_id`; by 张炎泼; 2023-03-14
30+
31+
Move trait `RaftLogId`, `LogIdOptionExt` and `LogIndexOptionExt` from `openraft::raft_types` to mod `openraft::log_id`

0 commit comments

Comments
 (0)