Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Read Stream always return error on cluster rebalance #190

@itgram

Description

@itgram

In a cluster mode setup of EventStoreDB, when the leader node of the cluster drops and we attempt to use ReadStream method, it raises an error and doesn’t rebalance with the updated cluster members.

This issue occurs here: https://github.com/EventStore/EventStore-Client-Go/blob/8206ac84067e5a6d591f71fafb82758015fb9f3c/esdb/client.go#L291

If we call ReadStream again, it fails repeatedly because client.grpcClient.handleError is not invoked in case of an error, which prevents the reconnection process from being triggered.

Here’s a suggested solution #188

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