知识卡片

普通读书笔记卡 · 517.n.2

部署回退要覆盖状态变化

理解等级:高级

发布可能协调改变多个服务及数据,回退机制必须跟踪全部更新,或能够撤销其后果。只切回旧二进制可能仍面对新数据模式或已经产生的状态,应在设计时确定版本兼容和可逆边界。自动回退能缩短风险窗口,但必须先知道何时回退仍然安全。

相关:[[可部署性包含可控回退]]。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 可部署性 · 查看原书依据

      Since deployments may involve multiple coordinated updates of multiple services and their data, the rollback mechanism must be able to keep track of all of these, or must be able to reverse the consequences of any update made by a deployment, ideally in a fully automated fashion.

    参考来源

    - 位置:《Software Architecture in Practice, 4th Edition》第5章《可部署性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch05.html) - 结论依据:原文的定义、机制或比较支持“发布可能协调改变多个服务及数据,回退机制必须跟踪全部更新,或能够撤销其后果”;正文保留其条件与取舍。 - 原始内容:Since deployments may involve multiple coordinated updates of multiple services and their data, the rollback mechanism must be able to keep track of all of these, or must be able to reverse the consequences of any update made by a deployment, ideally in a fully automated fashion.