Skip to content

Built-in support for Active Failover #477

@JLedel

Description

@JLedel

If you're using an active failover setup and happens to query a follower, or there is a leader change, you'll get an exception telling that the node is not a leader anymore.

I guess the reasonable fix is to allow the HttpApiTransport class to be created with multiple endpoints, and then have the transport silently either try the other one suggested by the header, or just go through the list of provided servers until one that's leader is found.

Is there any interest to add support for this in this project as well? If so, we could try to coordinate it so that our implementation works for this connector as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions