hazelcast / hazelcast/hazelcast-cpp-client

[TRACKING ISSUE] Set cluster connect timeout to infinite by default

Open
#768 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
91
Forks
54
Avg merge
1d 12m
Merged PRs (30d)
5

Description

The tracking issue for the Java side PR.

**Set cluster connect timeout to infinite by default**

See https://github.com/hazelcast/hazelcast/pull/18094 for details.

---

After an internal discussion, we have decided to set the cluster
connect timeout to infinite by default. Also, the multiplier
for the sleep time between consecutive connect attempts is changed
to `1.05` from `1.0`. The new sleep times between connection
attempts can be seen in the following graph. https://www.desmos.com/calculator/hl7rnbk4gf
(x-axis: attempt number, y-axis: sleep time in seconds)

Also, updated some logging statements.

Note that, this is a breaking change for the users who rely on the client to stop
trying to connect cluster after some time, but we decided

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.