Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add a loop for connecting during failover #5769

@NinoFloris

Description

@NinoFloris

@roji: for clarity, this is specifically the case where the primary has gone down and a secondary hasn't yet been fully promoted. In this state - when there's no primary at all - we can attempt to wait for a while until a primary appears rather than throw immediately. This would probably involve repeatedly polling secondary states with the assumption that one of them will become the primary.

Also see #5157 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions