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

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • all
    • 1.4.5
    • Failover
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.