Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autofollow #11

Closed
wants to merge 5 commits into from
Closed

Autofollow #11

wants to merge 5 commits into from

Conversation

Ormod
Copy link
Contributor

@Ormod Ormod commented Apr 28, 2015

No description provided.

This commit adds new config keys: autofollow, pg_start_command and
pg_stop command and pg_data_directory. When these are configured
correctly, you can have pglookout force PG to start following
a replication cluster's new master.

This is useful in a scenario where you have a master and two standbys,
the master node dies and one of the standby is promoted in it's stead.
The standby that wasn't furthest on, will automatically start to follow
the other standby that got promoted.
This means that on RPM based distros we now pull in postgresql-server
as a requirement so we get the postgres user/group set up.
…ion positions

Fixes a problem when choosing a standby when having equal replication
positions. Also correct the xlog position calculation.
This will collapse all whitespace, not just spaces.
@saaros
Copy link
Contributor

saaros commented Apr 29, 2015

Fixed whitespace and merged.

@saaros saaros closed this Apr 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants