itwanger / itwanger/toBeBetterJavaer
redis主从复制章节的笔误
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
在二哥的Java进阶之路的八股面经里 Redis 主从复制(问题 17)
原文中提到“Redis 2.8 之后主节点为每个从节点维护一个复制积压缓冲区”,
按其他的资料和我的理解这里应该是 复制缓冲区 而非 复制积压缓冲区,
复制积压缓冲区(repl_backlog_buffer)是主节点上的全局环形缓冲区,主要用于从节点断线重连后的 PSYNC 增量复制;而主节点为每个从节点单独维护的,应该是 replication buffer(复制缓冲区),用于在线状态下的命令传播。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Find the Redis 主从复制 section in the Java interview notes, specifically question 17, and compare the two replication buffer terms described in the issue. Update the wording so the per-replica buffer and the global replication backlog buffer are distinguished, then review the surrounding text for consistency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- redis
- Domain
- databases, documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100