-
Notifications
You must be signed in to change notification settings - Fork 896
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
Make replication excludes specific by region #12592
Make replication excludes specific by region #12592
Commits on Nov 11, 2016
-
Move the default replication excludes out of the settings.yml file
This will allow us to move away from storing this database centric setting as related to the server. https://bugzilla.redhat.com/show_bug.cgi?id=1389821
Configuration menu - View commit details
-
Copy full SHA for f50c798 - Browse repository at this point
Copy the full SHA f50c798View commit details -
Get the default excludes from the new file rather than Settings.
This also exposes a new method, `#active_excludes`, to retrieve the current excludes being used by pglogical. This will pull the list of tables directly from the pglogical tables in the database rather than using an intermediate list of settings related to the server. https://bugzilla.redhat.com/show_bug.cgi?id=1389821
Configuration menu - View commit details
-
Copy full SHA for 0b3975a - Browse repository at this point
Copy the full SHA 0b3975aView commit details -
Add class methods for refreshing the excludes from the queue
We can't use the instance methods with the queue because this is not an ActiveRecord object. https://bugzilla.redhat.com/show_bug.cgi?id=1389821
Configuration menu - View commit details
-
Copy full SHA for b3969a7 - Browse repository at this point
Copy the full SHA b3969a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 991a3d4 - Browse repository at this point
Copy the full SHA 991a3d4View commit details -
Remove exclude table logic from config activator
This is no longer needed because the exclude tables are not stored in the global Settings anymore. https://bugzilla.redhat.com/show_bug.cgi?id=1389821
Configuration menu - View commit details
-
Copy full SHA for d6103a8 - Browse repository at this point
Copy the full SHA d6103a8View commit details -
Set the currently configured excludes to the active ones for new inst…
…ances This means that `MiqPglogical.new.refresh_excludes` will not change the excluded tables back to the default, but will leave them as they currently are. https://bugzilla.redhat.com/show_bug.cgi?id=1389821
Configuration menu - View commit details
-
Copy full SHA for 9301b25 - Browse repository at this point
Copy the full SHA 9301b25View commit details
Commits on Nov 14, 2016
-
Add a migration to remove settings_changes rows for the excludes
Because we have removed the excludes from the settings.yml file we should remove the changes made in the database. This will leave current installations of pglogical in the same state they were in (we will read the excludes from the pglogical tables), but will reset new installations created when moving from rubyrep to pglogical. https://bugzilla.redhat.com/show_bug.cgi?id=1389821
Configuration menu - View commit details
-
Copy full SHA for 0e79109 - Browse repository at this point
Copy the full SHA 0e79109View commit details