[bitnami/postgresql-repmgr]Add judge primary node ip port is itslef
Description of the change
It seems that the judgment of whether the master node IP is your own is missed here.
Updates the Bitnami postgres-repmgr librepmgr.sh , function repmgr_get_primary_node, add judgment of whether the master node IP is your own
Benefits
Optimize extreme abnormal scenarios, such as: cluster machines lose power at the same time, and the restored cluster self-healing
Possible drawbacks
Whether the logic of repmgr itself has been tampered with
Applicable issues
- fix: https://github.com/bitnami/containers/issues/67372
Additional information
I'm happy to change approach if directed to how.
@fmulero @carrodher please review this pr
This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.
refresh