Skip to content

Create additional functionality for PostgreSQL to determine the master and replica #2

Description

@krylosov-aa

This isn't exactly the library's intended function, but it would be great to have a ready-made function for the host change handler. The function should periodically poll all specified hosts and determine the master and how far behind the replicas are. To avoid polling hosts too frequently, set a timeout during which all calls to the function will return data from the cache.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions