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

Aurora Connection.isValid specific implementation

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Do
    • None
    • N/A
    • Failover
    • None

    Description

      An additional thread is created when setting the option "validConnectionTimeout".
      This thread verify that connections are all active.
      Using This is normally done by pool that call Connection.isValid()

      Since Aurora role of each instance can change over time, this will validate that connection are active AND role have not changed.

      It will be better to avoid this additionnal thread, and implement a specific validation (Connection.isValid()) for aurora, so pool can use this without having a specific thread.

      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.