EventStore / EventStore-Client-Dotnet

Dotnet Client SDK for the Event Store gRPC Client API written in C#
Other
140 stars 38 forks source link

Fix client blocking when subscribing to persistent subscription after leader node failure #220

Closed 321zer0 closed 1 year ago

321zer0 commented 2 years ago

Fix client blocking when subscribing to persistent subscription after leader node failure.

Issue: https://github.com/EventStore/EventStore/issues/3535

timothycoleman commented 1 year ago

This will reuse the channel still, but it will cause rediscovery and redetection of server caps on each call, which is a little heavy handed. The rediscovery ought to happen according to OnReconnectionRequired, we should look into whether there are cases that that mechanism doesn't cover properly or isn't working properly

timothycoleman commented 1 year ago

Superceeded by https://github.com/EventStore/EventStore-Client-Dotnet/pull/222