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

Aurora Connection.isValid specific implementation

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Failover
    • Labels:
      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

            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:

                Git Integration