知识卡片
回滚模式不等于恢复数据
反向迁移需要维护与测试另一套正确性,删除表或列之后还可能无法恢复原有数据。可以从历史迁移重建某版本结构,但不能把重建空结构当作恢复生产数据。是否支持undo应按变更及恢复需求决定,不能对所有迁移宣称无损逆转。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Evolutionary Data · 查看原书依据
However, most teams have moved away from building undo capabilities for three reasons. First, if all the migrations exist, developers can build the database just up to the point they need without backing up to a previous version. In our example, developers would build from 1 to 95 to restore version 95. Second, why maintain two versions of correctness, both forward and backward? To confidently
参考来源
- 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第06章《Evolutionary Data》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch06.html;段落定位:However, most teams have moved away from building undo)
- 结论依据:原文对“回滚模式不等于恢复数据”的定义或案例,支撑“反向迁移需要维护与测试另一套正确性,删除表或列之后还可能无法恢复原有数据”的归纳。据其上下文,可以从历史迁移重建某版本结构,但不能把重建空结构当作恢复生产数据。
- 原始内容:However, most teams have moved away from building undo capabilities for three reasons. First, if all the migrations exist, developers can build the database just up to the point they need without backing up to a previous version. In our example, developers would build from 1 to 95 to restore version 95. Second, why maintain two versions of correctness, both forward and backward? To confidently