You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "iushas (via GitHub)" <gi...@apache.org> on 2025/03/17 09:39:45 UTC
[I] 写入压力非常大的情况下,slave会断开,导致发起全量同步 [kvrocks]
iushas opened a new issue, #2833:
URL: https://github.com/apache/kvrocks/issues/2833
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
### Version
# 环境:
debian11 , kvrocks 2.8
### Minimal reproduce step
# 问题


1、master 节点写入压力非常大的情况下,发现slave 与master的连接会断开,导致全量发起同步,引起雪崩
2、master在compaction的时候,会卡顿,导致客户端连接断开,引起应用重连

### What did you expect to see?
解决上述问题
### What did you see instead?
如上
### Anything Else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Slave disconnect causing a fullsync under high write pressure [kvrocks]
Posted by "iushas (via GitHub)" <gi...@apache.org>.
iushas commented on issue #2833:
URL: https://github.com/apache/kvrocks/issues/2833#issuecomment-2892717865
> slave断开后,master写入压力大,会超出wal size,所以需要全量复制。 尝试增大rocksdb.wal_ttl_seconds 和 rocksdb.wal_size_limit_mb 32768 会解决这个问题。
不是slave断开引起的全量复制, 是在写入压力大的情况下,主从复制会断开,像是master会卡住一段时间,包括业务连接和主从复制的那条链接。
主从复制的连接断开后,会触发从master 的全量复制 @twoholes @PragmaTwice
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org