Skip to content

Support praefect running on Geo secondary

Ash McKenzie requested to merge ashmckenzie/praefect-with-geo into master

What does this Merge Request do?

This MR allows praefect to run correctly on a Geo secondary by allowing praefect to write to the postgresql-geo/ instance which is writable (where as the postgresql/ instance isn't).

This MR supersedes !1362 (closed) so as to allow praefect on the Geo secondary to also perform DB migrations as necessary.

Closes #984 (closed)

Merge Request checklist

  • Tests added for new functionality. If not, please raise Issue to follow-up.
  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Documentation added/updated, if needed.
  • gdk doctor test added, if needed.

Compatibility

This should not break existing installations. Only when geo.secondary, introduced in !1405 (merged), is set to true it will change the location of the Praefect database. That setting is extremely new, and this MR documents what to do if that setting is changed.

Edited by Toon Claes

Merge request reports