首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在repmgr集群状态输出中,符号"*“意味着什么?

在repmgr集群状态输出中,符号"*“意味着什么?
EN

Database Administration用户
提问于 2021-02-10 16:12:03
回答 1查看 220关注 0票数 1

我对postgres管理很陌生,我想知道"*“符号在repmgr cluster show命令输出中意味着什么。

代码语言:javascript
复制
 ID | Name    | Role    | Status    | Upstream | Location | Connection string                                               
----+---------+---------+-----------+----------+----------+------------------------------------------------------------------
 1  | node-1  | standby |   running | node-2   | default  | host= [...] 
 2  | node-2  | primary | * running |          | default  | host= [...]
 3  | node-3  | witness | * running | node-2   | default  | host= [...]

我在文档中没有找到任何关于它的东西(https://repmgr.org/docs/4.0/repmgr-cluster-show.html)

使用文档中提到的repmgr cluster show --csv,我可以看到ID为1的节点处于“恢复”状态。是有关联的吗?

postgresql版本: 10.5 repmgr版本: 4.0

EN

回答 1

Database Administration用户

回答已采纳

发布于 2021-02-10 21:08:26

它没有文档化,但是密码在这里;看起来* running用于初选和证人的运行状态,而不是第二次。我不知道它的意图是什么;它可能只是用于主代码块的复制/粘贴;引入了第二个* running状态字符串的D3提交。

票数 2
EN
页面原文内容由Database Administration提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://dba.stackexchange.com/questions/285123

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档