mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
repmgrd: restrict BDR monitoring to two node setup
It's not safe to have more than two nodes with this kind of "failover", so we don't need to select alternative nodes by priority.
This commit is contained in:
3
repmgr.h
3
repmgr.h
@@ -30,8 +30,6 @@
|
||||
#define REPLICATION_TYPE_PHYSICAL 1
|
||||
#define REPLICATION_TYPE_BDR 2
|
||||
|
||||
#define BDR_MONITORING_LOCAL 1
|
||||
#define BDR_MONITORING_PRIORITY 2
|
||||
|
||||
#define DEFAULT_LOCATION "default"
|
||||
#define DEFAULT_PRIORITY 100
|
||||
@@ -52,4 +50,5 @@
|
||||
|
||||
#define ERRBUFF_SIZE 512
|
||||
|
||||
|
||||
#endif /* _REPMGR_H_ */
|
||||
|
||||
Reference in New Issue
Block a user