知识卡片

问题卡 · 4499

文件版本记录保持只读

理解等级:高级

文件元数据指向当前版本,历史版本记录保留已有块的组合而不原地改写,支持回看和恢复。块级去重可复用相同内容,但删除旧版本时要遵守引用与保留策略,不能误删仍被其他版本使用的块。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 云盘 · 查看原书依据

      File_version: It stores version history of a file. Existing rows are read-only to keep the integrity of the file revision history. Block: It stores everything related to a file block. A file of any version can be reconstructed by joining all the blocks in the correct order. Upload flow Let us discuss what happens when a client uploads a file. To better understand the flow,

    参考来源

    - 位置:《System Design Interview – An insiders guide, Second Edition》第15章《云盘》(来源项目 book-sources;源文件:extracted/System Design Interview – An insiders guide, Second Edition/_epub-src/text/part0035_split_003.html) - 结论依据:原文在该位置给出所述对象、机制或比较,支持本卡的解释;原书未展开的实现不作为已证明结论,算式与一致性边界在正文明确限定。 - 原始内容:File_version: It stores version history of a file. Existing rows are read-only to keep the integrity of the file revision history. Block: It stores everything related to a file block. A file of any version can be reconstructed by joining all the blocks in the correct order. Upload flow Let us discuss what happens when a client uploads a file. To better understand the flow,