Skip to content

Commit 1497324

Browse files
committed
Doc: add change-log for 0.9.2
1 parent d2d155d commit 1497324

File tree

2 files changed

+119
-0
lines changed

2 files changed

+119
-0
lines changed

change-log.md

+61
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,64 @@
1+
## v0.9.2
2+
3+
Summary:
4+
5+
- Added:
6+
- [8b54a80f](https://github.com/datafuselabs/openraft/commit/8b54a80f6e5b06a181f12f55179e0928a470e21b) `Raft::config()` returns a ref to Config this raft node uses.
7+
- [7d5326ce](https://github.com/datafuselabs/openraft/commit/7d5326ce7b5534c93300eabbcefa0c4d3d45284e) add `RaftMetrics::millis_since_quorum_ack`.
8+
- Improved:
9+
- [d4a3053f](https://github.com/datafuselabs/openraft/commit/d4a3053fa7b77fbe7db4fc7e598785b8f4d78676) Update example network err implementation.
10+
- [d2d155db](https://github.com/datafuselabs/openraft/commit/d2d155db1e10a619a0bf82710db200ab43afd113) Use `Unreachable` error in `examples/raft-kv-rocksdb`.
11+
- Fixed:
12+
- [17795e7f](https://github.com/datafuselabs/openraft/commit/17795e7f08bedc3417438aff2486fad261465225) Ensure heartbeat results are returned to `RaftCore`.
13+
- [768dfdc9](https://github.com/datafuselabs/openraft/commit/768dfdc9cc1ce5ea1b985dd00274ae8221764ef9) Ensure `RaftMetrics` are sent after `RaftDataMetrics` and `RaftServerMetrics`.
14+
15+
Detail:
16+
17+
### Added:
18+
19+
- Added: [8b54a80f](https://github.com/datafuselabs/openraft/commit/8b54a80f6e5b06a181f12f55179e0928a470e21b) `Raft::config()` returns a ref to Config this raft node uses; by 张炎泼; 2024-03-14
20+
21+
- Added: [7d5326ce](https://github.com/datafuselabs/openraft/commit/7d5326ce7b5534c93300eabbcefa0c4d3d45284e) add `RaftMetrics::millis_since_quorum_ack`; by 张炎泼; 2024-03-15
22+
23+
`RaftMetrics::millis_since_quorum_ack` is the interval in milliseconds
24+
since the last timestamp a quorum acknowledged.
25+
26+
This duration is used by the application to assess the likelihood that
27+
the leader has lost synchronization with the cluster.
28+
A longer duration without acknowledgment may suggest a higher
29+
probability of the leader being partitioned from the cluster.
30+
31+
### Improved:
32+
33+
- Improved: [d4a3053f](https://github.com/datafuselabs/openraft/commit/d4a3053fa7b77fbe7db4fc7e598785b8f4d78676) Update example network err implementation; by Jonah Nestrick; 2024-03-15
34+
35+
Update the example to return unreachable error for connection errors to
36+
prevent immediate retries.
37+
38+
- Improved: [d2d155db](https://github.com/datafuselabs/openraft/commit/d2d155db1e10a619a0bf82710db200ab43afd113) Use `Unreachable` error in `examples/raft-kv-rocksdb`; by 张炎泼; 2024-03-14
39+
40+
### Fixed:
41+
42+
- Fixed: [17795e7f](https://github.com/datafuselabs/openraft/commit/17795e7f08bedc3417438aff2486fad261465225) Ensure heartbeat results are returned to `RaftCore`; by 张炎泼; 2024-03-17
43+
44+
Previously, the heartbeat results were not sent back to
45+
`RaftCore`, which requires these results to calculate the **last
46+
timestamp acknowledged by a quorum**.
47+
48+
This commit resolves the issue by ensuring that the heartbeat RPC
49+
results are sent back to `RaftCore`, allowing it to correctly update the
50+
**last timestamp acknowledged by a quorum**.
51+
52+
- Fixed: [768dfdc9](https://github.com/datafuselabs/openraft/commit/768dfdc9cc1ce5ea1b985dd00274ae8221764ef9) Ensure `RaftMetrics` are sent after `RaftDataMetrics` and `RaftServerMetrics`; by 张炎泼; 2024-03-19
53+
54+
This commit addresses an issue where `RaftMetrics` could be sent before
55+
`RaftDataMetrics` and `RaftServerMetrics`. Since `Wait` relies solely on
56+
`RaftMetrics` to reflect the latest state, it is crucial that
57+
`RaftMetrics` are dispatched only after the other two metrics have been
58+
updated. This change guarantees that once a change in `RaftMetrics` is
59+
detected, it accurately represents the most recent changes from both
60+
`RaftDataMetrics` and `RaftServerMetrics`.
61+
162
## v0.9.0
263

364
Summary:

change-log/v0.9.2.md

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
Summary:
2+
3+
- Added:
4+
- [8b54a80f](https://github.com/datafuselabs/openraft/commit/8b54a80f6e5b06a181f12f55179e0928a470e21b) `Raft::config()` returns a ref to Config this raft node uses.
5+
- [7d5326ce](https://github.com/datafuselabs/openraft/commit/7d5326ce7b5534c93300eabbcefa0c4d3d45284e) add `RaftMetrics::millis_since_quorum_ack`.
6+
- Improved:
7+
- [d4a3053f](https://github.com/datafuselabs/openraft/commit/d4a3053fa7b77fbe7db4fc7e598785b8f4d78676) Update example network err implementation.
8+
- [d2d155db](https://github.com/datafuselabs/openraft/commit/d2d155db1e10a619a0bf82710db200ab43afd113) Use `Unreachable` error in `examples/raft-kv-rocksdb`.
9+
- Fixed:
10+
- [17795e7f](https://github.com/datafuselabs/openraft/commit/17795e7f08bedc3417438aff2486fad261465225) Ensure heartbeat results are returned to `RaftCore`.
11+
- [768dfdc9](https://github.com/datafuselabs/openraft/commit/768dfdc9cc1ce5ea1b985dd00274ae8221764ef9) Ensure `RaftMetrics` are sent after `RaftDataMetrics` and `RaftServerMetrics`.
12+
13+
Detail:
14+
15+
### Added:
16+
17+
- Added: [8b54a80f](https://github.com/datafuselabs/openraft/commit/8b54a80f6e5b06a181f12f55179e0928a470e21b) `Raft::config()` returns a ref to Config this raft node uses; by 张炎泼; 2024-03-14
18+
19+
- Added: [7d5326ce](https://github.com/datafuselabs/openraft/commit/7d5326ce7b5534c93300eabbcefa0c4d3d45284e) add `RaftMetrics::millis_since_quorum_ack`; by 张炎泼; 2024-03-15
20+
21+
`RaftMetrics::millis_since_quorum_ack` is the interval in milliseconds
22+
since the last timestamp a quorum acknowledged.
23+
24+
This duration is used by the application to assess the likelihood that
25+
the leader has lost synchronization with the cluster.
26+
A longer duration without acknowledgment may suggest a higher
27+
probability of the leader being partitioned from the cluster.
28+
29+
### Improved:
30+
31+
- Improved: [d4a3053f](https://github.com/datafuselabs/openraft/commit/d4a3053fa7b77fbe7db4fc7e598785b8f4d78676) Update example network err implementation; by Jonah Nestrick; 2024-03-15
32+
33+
Update the example to return unreachable error for connection errors to
34+
prevent immediate retries.
35+
36+
- Improved: [d2d155db](https://github.com/datafuselabs/openraft/commit/d2d155db1e10a619a0bf82710db200ab43afd113) Use `Unreachable` error in `examples/raft-kv-rocksdb`; by 张炎泼; 2024-03-14
37+
38+
### Fixed:
39+
40+
- Fixed: [17795e7f](https://github.com/datafuselabs/openraft/commit/17795e7f08bedc3417438aff2486fad261465225) Ensure heartbeat results are returned to `RaftCore`; by 张炎泼; 2024-03-17
41+
42+
Previously, the heartbeat results were not sent back to
43+
`RaftCore`, which requires these results to calculate the **last
44+
timestamp acknowledged by a quorum**.
45+
46+
This commit resolves the issue by ensuring that the heartbeat RPC
47+
results are sent back to `RaftCore`, allowing it to correctly update the
48+
**last timestamp acknowledged by a quorum**.
49+
50+
- Fixed: [768dfdc9](https://github.com/datafuselabs/openraft/commit/768dfdc9cc1ce5ea1b985dd00274ae8221764ef9) Ensure `RaftMetrics` are sent after `RaftDataMetrics` and `RaftServerMetrics`; by 张炎泼; 2024-03-19
51+
52+
This commit addresses an issue where `RaftMetrics` could be sent before
53+
`RaftDataMetrics` and `RaftServerMetrics`. Since `Wait` relies solely on
54+
`RaftMetrics` to reflect the latest state, it is crucial that
55+
`RaftMetrics` are dispatched only after the other two metrics have been
56+
updated. This change guarantees that once a change in `RaftMetrics` is
57+
detected, it accurately represents the most recent changes from both
58+
`RaftDataMetrics` and `RaftServerMetrics`.

0 commit comments

Comments
 (0)