Skip to content

Commit cb669a3

Browse files
committed
Doc: add change-log 0.9.13
1 parent 8411778 commit cb669a3

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

change-log.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
## v0.9.13
2+
3+
Summary:
4+
5+
- Added:
6+
- [fb49efb3](https://github.com/datafuselabs/openraft/commit/fb49efb37e209ab0cd9ea7c4bc243f18f4e9a658) Add `DecomposeResult` to simplify error handling.
7+
8+
Detail:
9+
10+
### Added:
11+
12+
- Added: [fb49efb3](https://github.com/datafuselabs/openraft/commit/fb49efb37e209ab0cd9ea7c4bc243f18f4e9a658) Add `DecomposeResult` to simplify error handling; by 张炎泼; 2024-06-20
13+
14+
This commit treats remote errors occurring during RPC, like a `Fatal`
15+
error, as an `Unreachable` error. This is due to Openraft's current
16+
inability to distinguish between an unreachable node and a broken node.
17+
18+
- **Helper trait `DecomposeResult`:** Introduced to simplify handling
19+
composite errors. It converts a result of the
20+
form `Result<R, ErrorAOrB>`
21+
into a nested result `Result<Result<R, ErrorA>, ErrorB>`.
22+
123
## v0.9.12
224

325
Summary:

change-log/v0.9.13.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Summary:
2+
3+
- Added:
4+
- [fb49efb3](https://github.com/datafuselabs/openraft/commit/fb49efb37e209ab0cd9ea7c4bc243f18f4e9a658) Add `DecomposeResult` to simplify error handling.
5+
6+
Detail:
7+
8+
### Added:
9+
10+
- Added: [fb49efb3](https://github.com/datafuselabs/openraft/commit/fb49efb37e209ab0cd9ea7c4bc243f18f4e9a658) Add `DecomposeResult` to simplify error handling; by 张炎泼; 2024-06-20
11+
12+
This commit treats remote errors occurring during RPC, like a `Fatal`
13+
error, as an `Unreachable` error. This is due to Openraft's current
14+
inability to distinguish between an unreachable node and a broken node.
15+
16+
- **Helper trait `DecomposeResult`:** Introduced to simplify handling
17+
composite errors. It converts a result of the
18+
form `Result<R, ErrorAOrB>`
19+
into a nested result `Result<Result<R, ErrorA>, ErrorB>`.

0 commit comments

Comments
 (0)