hazelcast / hazelcast-csharp-client

Hazelcast .NET Client
https://hazelcast.com/clients/dotnet/
Apache License 2.0
102 stars 49 forks source link

Client shuts down on failover [API-2176] #863

Closed zpqrtbnk closed 9 months ago

zpqrtbnk commented 11 months ago

From Java's API-2171 if the client manages to initiate a connection to the next cluster during a failover operation, but the cluster fails to raise the members view event soon enough, the client may end up shutting down or worse, hanging, instead of nicely flowing to yet another cluster.

zpqrtbnk commented 11 months ago

Analysis: troubleshooting reveals a range of issues.

All these issues revealed by a new test that runs failover scenarios over mocked clusters (so we can simulate not sending the members view).