Skip to content

Commit

Permalink
Doc: add change-log 0.9.13
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Jun 21, 2024
1 parent 8411778 commit cb669a3
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
22 changes: 22 additions & 0 deletions change-log.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
## v0.9.13

Summary:

- Added:
- [fb49efb3](https://github.com/datafuselabs/openraft/commit/fb49efb37e209ab0cd9ea7c4bc243f18f4e9a658) Add `DecomposeResult` to simplify error handling.

Detail:

### Added:

- Added: [fb49efb3](https://github.com/datafuselabs/openraft/commit/fb49efb37e209ab0cd9ea7c4bc243f18f4e9a658) Add `DecomposeResult` to simplify error handling; by 张炎泼; 2024-06-20

This commit treats remote errors occurring during RPC, like a `Fatal`
error, as an `Unreachable` error. This is due to Openraft's current
inability to distinguish between an unreachable node and a broken node.

- **Helper trait `DecomposeResult`:** Introduced to simplify handling
composite errors. It converts a result of the
form `Result<R, ErrorAOrB>`
into a nested result `Result<Result<R, ErrorA>, ErrorB>`.

## v0.9.12

Summary:
Expand Down
19 changes: 19 additions & 0 deletions change-log/v0.9.13.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Summary:

- Added:
- [fb49efb3](https://github.com/datafuselabs/openraft/commit/fb49efb37e209ab0cd9ea7c4bc243f18f4e9a658) Add `DecomposeResult` to simplify error handling.

Detail:

### Added:

- Added: [fb49efb3](https://github.com/datafuselabs/openraft/commit/fb49efb37e209ab0cd9ea7c4bc243f18f4e9a658) Add `DecomposeResult` to simplify error handling; by 张炎泼; 2024-06-20

This commit treats remote errors occurring during RPC, like a `Fatal`
error, as an `Unreachable` error. This is due to Openraft's current
inability to distinguish between an unreachable node and a broken node.

- **Helper trait `DecomposeResult`:** Introduced to simplify handling
composite errors. It converts a result of the
form `Result<R, ErrorAOrB>`
into a nested result `Result<Result<R, ErrorA>, ErrorB>`.

0 comments on commit cb669a3

Please sign in to comment.