pika icon indicating copy to clipboard operation
pika copied to clipboard

pika parameters are compatible with sentinel

Open huxiaozhe opened this issue 11 months ago • 4 comments

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 avatar Feb 28 '24 03:02 huxiaozhe

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

937988621 avatar May 13 '24 01:05 937988621

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.

Issues-translate-bot avatar May 13 '24 01:05 Issues-translate-bot

@baixin01

AlexStocks avatar Jun 14 '24 13:06 AlexStocks

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


@baixin01

Issues-translate-bot avatar Jun 14 '24 13:06 Issues-translate-bot

baixin:chengyu 多加了一个冒号导致了此问题。

AlexStocks avatar Jul 05 '24 13:07 AlexStocks

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


baixin: chengyu added an extra colon, which caused this problem.

Issues-translate-bot avatar Jul 05 '24 13:07 Issues-translate-bot

这个问题已经修复解决了

chejinge avatar Jul 17 '24 08:07 chejinge

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


This problem has been fixed

Issues-translate-bot avatar Jul 17 '24 08:07 Issues-translate-bot