-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pika parameters are compatible with sentinel #2427
Comments
您好,请问您说的sentinel是pika自己设计的codis中集成的哨兵还是说redis原生的哨兵呢?我这边在搭建最基础的Master-Slave式的的pika服务时,发现配合redis原生sentinel不能实现故障转移。 |
Hello, is the sentinel you are talking about the sentinel integrated in codis designed by pika itself, or the sentinel native to redis? When I was building the most basic Master-Slave-style pika service, I found that failover could not be achieved with redis's native sentinel. |
Which PikiwiDB functionalities are relevant/related to the feature request?
No response
Description
pika 缺少 master_link_down_since_seconds 指标,含义为 slave 与 master 的链接出现异常之后,slave开始计时。
sentinel选主时就不会选择master_link_down_since_seconds > master宕机时间的 slave 节点,可以更加准确的进行选主。
offset 格式不同
redis :slave_repl_offset:
pika :db0 binlog_offset=0 0
是否可以抽象出一个 slave_repl_offset
Proposed solution
Alternatives considered
The text was updated successfully, but these errors were encountered: