Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-568

when doing read retry upon exception, do not reuse same servers that gave errors

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Cluster Management
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: