redis / lettuce

Advanced Java Redis client for thread-safe sync, async, and reactive usage. Supports Cluster, Sentinel, Pipelining, and codecs.
https://lettuce.io
MIT License
5.37k stars 962 forks source link

Why ClusterTopologyRefreshOptions is off by default #2806

Closed canmanciu closed 6 months ago

canmanciu commented 6 months ago

Why is ClusterTopologyRefreshOptions turned off by default? Developers who are not familiar with lettuce may not realize that they need to manually turn it on, resulting in failure to fail over. I would like to know what the considerations are. Are there any performance issues to consider?