← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 1903.c.4.c.1

手工改状态属于高风险

理解等级:高级

外部状态文件把代码资源身份映射到平台资源 ID,可转移映射来保留真实资源。但必须协调新旧栈代码和状态的修改顺序,否则可能冲突、遗孤或触发销毁重建。手工状态手术应只在其他选项更糟的极端情况下使用,先备份并准备失败后重建,而非当成常规重构方法。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 变更既有基础设施 · 查看原书依据

      I call manually editing state files, whether for this kind of change or to fix problems, infrastructure surgery. It’s a risky, error-prone operation. Teams should avoid infrastructure surgery except in extreme situations, when the only other option is destroying and rebuilding swathes of infrastructure. Be

    参考来源

    - 位置:《Infrastructure As Code》第20章《变更既有基础设施》(来源项目:book-sources;源文件:extracted/Infrastructure As Code/_epub-src/OEBPS/ch20.html) - 结论依据:原文在该段定义概念并解释相关过程或限制,支撑“外部状态文件把代码资源身份映射到平台资源 ID,可转移映射来保留真实资源”这一核心结论;正文的用途与边界据同小节后续论述整理。 - 原始内容:I call manually editing state files, whether for this kind of change or to fix problems, infrastructure surgery. It’s a risky, error-prone operation. Teams should avoid infrastructure surgery except in extreme situations, when the only other option is destroying and rebuilding swathes of infrastructure. Be