# log-replication

Published articles for log-replication.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## 【分布式系统实战】Raft 实现拆解：etcd 的共识算法到底长什么样

DevFeed: [【分布式系统实战】Raft 实现拆解：etcd 的共识算法到底长什么样](<https://devfeed.tech/articles/raft-etcd-33981.md>)

Original publisher: [Read original article](<https://quant67.com/post/distributed/raft-etcd/raft-etcd.html>)

Author: Liao Tonglang

Published: 2025-01-24T00:00:00Z

Content type: tutorial

Language: zh

Sources: [土法炼钢 - 系统与基础设施](<https://devfeed.tech/sources/source-4.md>)

Topics: [Raft](<https://devfeed.tech/topics/raft.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [bug](<https://devfeed.tech/topics/bug.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [etcd](<https://devfeed.tech/tags/etcd.md>), [go](<https://devfeed.tech/tags/go.md>), [leader-election](<https://devfeed.tech/tags/leader-election.md>), [log-replication](<https://devfeed.tech/tags/log-replication.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [raft](<https://devfeed.tech/tags/raft.md>), [replication](<https://devfeed.tech/tags/replication.md>)

### AI overview

This article examines how etcd's Go Raft library extends the Raft paper with engineering mechanisms and edge-case handling. It discusses PreVote and leader transfer, pipelined replication with Probe, Replicate, and snapshot states, Ready-based I/O separation, and configuration-change safety concerns.

### Source excerpt

Raft 论文 18 页，etcd raft 库 ~15000 行 Go。中间的差距不是代码量，是论文没提的工程 edge case：PreVote、流水线复制、ReadIndex、joint consensus。