diff --git a/change-log.md b/change-log.md index 8ef0e8ed8..d9db8b0d8 100644 --- a/change-log.md +++ b/change-log.md @@ -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` + into a nested result `Result, ErrorB>`. + ## v0.9.12 Summary: diff --git a/change-log/v0.9.13.md b/change-log/v0.9.13.md new file mode 100644 index 000000000..e3cd8a4c3 --- /dev/null +++ b/change-log/v0.9.13.md @@ -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` + into a nested result `Result, ErrorB>`.