[JAVA-568] when doing read retry upon exception, do not reuse same servers that gave errors Created: 15/May/12  Updated: 25/Jun/13  Resolved: 25/Jun/13

Status: Closed
Project: Java Driver
Component/s: Cluster Management
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Antoine Girbal Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

when doing retry there is no history of which servers were used, consequently the same bad server can be chosen 3 times and app gets exception.
Solutions:

  • add "List<Server> triedServers" to call(), that defaults to null.
  • mark the server as not _ok right away, but that could lead to instability so dangerous.

Generated at Thu Feb 08 08:52:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.