Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11471

JDBC: Thin driver should start with a random server to connect

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • jdbc

    Description

      Thin JDBC driver uses a list of server addresses to connect to. Connections created in a single JVM will use round-robin to choose the server to connect, yielding a uniform distribution. However, the round-robin always starts from the first server in the list. It means that multiple JVMs with the same JDBC connection URL and one connection each will all connect to the same server.

      Need to choose the first server randomly to have a better distribution.

      Attachments

        Issue Links

          Activity

            People

              ibelyakov Igor Belyakov
              slukyanov Stanislav Lukyanov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m