知识卡片
前向恢复选择新安全状态
回滚重返过去良态;前向恢复则利用纠错或冗余信息,从当前错误状态转到一个可继续运行的安全状态,必要时降低服务能力。它不必重放同一操作或回退旧检查点,适合能确定安全继续条件的场景;没有足够信息时不能只把错误标记为已处理。
相关:[[检查点支持回滚与接替]]。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
- · 第04章 可用性
原书出处 · 1 处
- 可用性 · 查看原书依据
Forward error recovery. This pattern provides a way to get out of an undesirable state by moving forward to a desirable state. This often relies upon built-in error-correction capabilities, such as data redundancy, so that errors may be corrected without the need to fall back to a previous state or to retry. Forward error recovery finds a safe, possibly degraded state from which operation can move forward.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第4章《可用性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch04.html)
- 结论依据:原文的定义、机制或比较支持“回滚重返过去良态;前向恢复则利用纠错或冗余信息,从当前错误状态转到一个可继续运行的安全状态,必要时降低服务能力”;正文保留其条件与取舍。
- 原始内容:Forward error recovery. This pattern provides a way to get out of an undesirable state by moving forward to a desirable state. This often relies upon built-in error-correction capabilities, such as data redundancy, so that errors may be corrected without the need to fall back to a previous state or to retry. Forward error recovery finds a safe, possibly degraded state from which operation can move forward.