Pgpool автоматически продвигает узел 0 в качестве основного при подключении узла, даже если основной (узел 1) работает - PullRequest
0 голосов
/ 06 июня 2019

У меня есть две машины, сконфигурированные с postgres и pgpool, работающими в режиме репликации master / slave stream.Как и ожидалось, репликация работает нормально.
1. Currently, node 0 is the primary and node 1 is the slave 2. Node 0 goes down and node 1 becomes the primary and the pool status shows that node 0 is down and node 1 is the primary. 3. After bringing the node 0 up, the status still remains the same which is expected. 4. So, to change that status , the node is attached back to node 0 which changes the status of node 0 to up but also it changes the node 0 to primary and node 1 to secondary which is unexpected.

Я пытаюсь понять, почему узел 0 стал главным, хотя основной все еще работал.Спасибо за помощь

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...