containers icon indicating copy to clipboard operation
containers copied to clipboard

[bitnami/postgresql-repmgr]Add judge primary node ip port is itslef

Open kwenzh opened this issue 1 year ago • 3 comments

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.

kwenzh avatar May 31 '24 10:05 kwenzh

@fmulero @carrodher please review this pr

kwenzh avatar Jun 11 '24 07:06 kwenzh

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.

github-actions[bot] avatar Jul 31 '24 01:07 github-actions[bot]

refresh

kwenzh avatar Jul 31 '24 01:07 kwenzh