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

Check replication from secondary point of view #363

Open
Krysztophe opened this issue Nov 30, 2023 · 1 comment
Open

Check replication from secondary point of view #363

Krysztophe opened this issue Nov 30, 2023 · 1 comment

Comments

@Krysztophe
Copy link
Collaborator

Following a discussion with @tobixen (#206 (comment)): he expressed the need of a service checking for the replication from the secondary point a view.

Just ideas and questions:

  • in which situations would this service be useful? (it was always assumed that the checks where done from the primary)

  • there are different cases:

    • pure streaming
    • streaming with log shipping (eg: the service could raise a WARNING if PG had to fall back on log shipping)
    • streaming ok but replay is paused
    • log shipping only, with or without archive_timeout
    • logical replication?
  • improve is_hot_standby

  • add a new service is_streaming?

@iovcho
Copy link

iovcho commented Jun 4, 2024

+1

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

No branches or pull requests

2 participants