我对postgres管理很陌生,我想知道"*“符号在repmgr cluster show命令输出中意味着什么。
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
发布于 2021-02-10 21:08:26
它没有文档化,但是密码在这里;看起来* running用于初选和证人的运行状态,而不是第二次。我不知道它的意图是什么;它可能只是用于主代码块的复制/粘贴;引入了第二个* running状态字符串的D3提交。
https://dba.stackexchange.com/questions/285123
复制相似问题