Skip to content
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

Open
huxiaozhe opened this issue Feb 28, 2024 · 2 comments
Open

pika parameters are compatible with sentinel #2427

huxiaozhe opened this issue Feb 28, 2024 · 2 comments
Labels
✏️ Feature New feature or request

Comments

@huxiaozhe
Copy link

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

@huxiaozhe huxiaozhe added the ✏️ Feature New feature or request label Feb 28, 2024
@chejinge chejinge changed the title pika 参数兼容 sentinel pika parameters are compatible with sentinel Mar 8, 2024
@937988621
Copy link

您好,请问您说的sentinel是pika自己设计的codis中集成的哨兵还是说redis原生的哨兵呢?我这边在搭建最基础的Master-Slave式的的pika服务时,发现配合redis原生sentinel不能实现故障转移。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✏️ Feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants