Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-19135

Should we drop MySQL's autoReconnect=true from Confluence?

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      MySQL documentation discourage using the autoReconnect parameter:

      The use of this feature is not recommended, because it has side effects related to session state and data consistency when applications don't handle SQLExceptions properly, and is only designed to be used when you are unable to configure your application to handle SQLExceptions resulting from dead and stale connections properly. Alternatively, investigate setting the MySQL server variable "wait_timeout" to some high value rather than the default of 8 hours.

      However we make this parameter set to true by default upon installation of Confluence.

      In JIRA, this parameter has been dropped and deemed useless: JRA-15731

      If this also applies to Confluence, we should also do the same and update our documentation.

      Attachments

        Activity

          People

            smaddox SarahA
            rhartono Roy Hartono [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: