跳转到主内容

什么是双重承诺、它如何工作?

Views:
25
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

可不使用  

适用于

  • StorageGRID

解答

双重提交仅与对象的数据部分相关。每个对象的元数据部分始终存储为每个数据中心 3 个副本。

双重提交是在进行测试期间发生的过程。它是一个独立的过程、在 ILM (信息生命周期管理)评估之前完成。在网格向 S3 客户端确认写入成功之前,必须验证 DUAL 提交是否已完成。为了最大限度地提高性能、 DUAL COMMIT 通常会在发生吸入的同一站点的两个不同存储节点上写入两个副本—这可以消除通过 WAN 链路的延迟。

然后、 ILM 策略将根据 ILM 规则评估对象并将其分发到网格中、并在满足匹配规则后删除 Ing摄取 站点中的冗余副本。只有在完全满足相应的 ILM 规则后,才会删除冗余双提交副本。

例如、对象在 Datacenter 1 中输入、并且应用了 3 个副本 ILM 规则:( DC1 中有 1 个副本、 DC2 中有 1 个副本、 DC3 中有 1 个副本)

  • DUAL COMMIT 在接收站点 DC1 上制作两个副本
  • 3 复制规则与此内容匹配
  • ILM 引擎指定 / 选择其中一个 DC1 副本
  • 将一个副本复制到 DC2
  • 将一个副本复制到 DC3
  • ILM 标记为满足
  • DC1 中的冗余双提交副本已删除。

如前所述, DUAL 提交通常会在发生吸入的同一站点制作两份副本。如果该站点的可用存储空间不足、双提交系统将使用另一个站点的存储。

DUAL 提交与 ONTAP 概念类似,即将传入写入记录到两个 NVRAM 位置、以便在最终根据目标聚合将其清除到 RAID-4 、 RAID-DP 或 RAID-TEC 之前提前确认客户端。SGWS 中的双重提交(如 NVRAM )仅用于保护数据、直至将其提交到最终目标。一旦发生这种情况,就会将其从“缓冲区”中清除。

其他信息

在此处添加您的文本。

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.