mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
standby register: ensure location field is compared during record check
This commit is contained in:
@@ -2032,6 +2032,9 @@ do_standby_register(void)
|
||||
if (node_record_on_standby.priority != node_record_on_primary.priority)
|
||||
records_match = false;
|
||||
|
||||
if (strcmp(node_record_on_standby.location, node_record_on_primary.location) != 0)
|
||||
records_match = false;
|
||||
|
||||
if (node_record_on_standby.active != node_record_on_primary.active)
|
||||
records_match = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user