Azure / Azure/azure-cosmosdb-java

Should SDK refresh address cache on an interval even when there are 4 replicas present?

Open
#345 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
59
Forks
68
PR merge metrics
No merged PRs in 30d

Description

For this particular case, the customer might have so many client instances which were idle for quite a while. The clients held the stale address cache. Later when the clients tried to send the requests to the backend, it is possible that each client suffered the high latency once before the offline replica throws ConnectTimeoutException

Question for SDK team, can we have an infrequent timer to refresh the address cache for the case when there are already 4 replicas?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.