Skip to content

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

@krylosov-aa

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.

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