Skip to content
This repository has been archived by the owner on Sep 13, 2018. It is now read-only.

simplify db replication stuff #117

Open
binary1230 opened this issue Sep 11, 2016 · 0 comments
Open

simplify db replication stuff #117

binary1230 opened this issue Sep 11, 2016 · 0 comments

Comments

@binary1230
Copy link
Contributor

can probably further simplify db replication puppet:

  1. remove difference between "normal mode" i.e. no replication and "master mode" i.e. listening for connections.

  2. simplify config files, only difference between the slave and master mode is 'hot_standby': value => 'on';. move common stuff as the default config, and slave nodes only put hot_standby on.

  3. probably drop recovery.conf in all stuff and write standby_mode always, primary_conninfo only if slave

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant