arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.14802cs.DC
收藏

ReCraft:Raft协议的自包含拆分、合并与成员变更

ReCraft: Self-Contained Split, Merge, and Membership Change of Raft Protocol

Kezhi Xiong, Soonwon Moon, Joshua Kang, Bryant Curto, Jieung Kim, Ji-Yong Shin

AI总结:

本文提出ReCraft,一种用于Raft协议的新型重配置协议,支持集群拆分、合并与成员变更,无需外部协调器且最小化阻塞,并在etcd中验证了其安全性与高效性。

摘要:

为共识协议设计重配置方案极具挑战性,因为重配置期间的微妙边缘情况可能破坏协议的正确性。因此,大多数嵌入共识协议的系统保守地实现重配置,不愿开发高效的方案。现有实现通常在重配置期间停止整个系统并依赖集中式协调器,这可能成为单点故障。我们提出了ReCraft,一种用于Raft的新型重配置协议,支持多集群和单集群级别的重配置。ReCraft不依赖外部协调器且最小化阻塞。ReCraft通过拆分和合并重配置实现Raft集群的分片,并添加了改进Raft的成员变更方案。我们证明了ReCraft的安全性和活性,并通过在etcd中的实现展示了其效率。

英文摘要:

Designing reconfiguration schemes for consensus protocols is challenging because subtle corner cases during reconfiguration could invalidate the correctness of the protocol. Thus, most systems that embed consensus protocols conservatively implement the reconfiguration and refrain from developing an efficient scheme. Existing implementations often stop the entire system during reconfiguration and rely on a centralized coordinator, which can become a single point of failure. We present ReCraft, a novel reconfiguration protocol for Raft, which supports multi- and single-cluster-level reconfigurations. ReCraft does not rely on external coordinators and blocks minimally. ReCraft enables the sharding of Raft clusters with split and merge reconfigurations and adds a membership change scheme that improves Raft. We prove the safety and liveness of ReCraft and demonstrate its efficiency through implementations in etcd.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑