|
| 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 | + |
1 | 62 | ## v0.9.0
|
2 | 63 |
|
3 | 64 | Summary:
|
|
0 commit comments