Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-294

PrepareStatement failover handling : use master connection to a minimum

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 1.4.5
    • Component/s: Failover
    • Labels:
      None

      Description

      When using a PrepareStatement executing on a Aurora replica, and failover append, master can be use temporary.
      When a replica is up again, the prepareStatement must fall back again using the replica connection.

      Depending on failover parameters, this may take a long time (seen on test about 13~17 minutes with the folowing parameters : validConnectionTimeout=120
      socketTimeout=10000
      failoverLoopRetries=120
      connectTimeout=250
      loadBalanceBlacklistTimeout=50)

        Attachments

          Activity

            People

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration