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

new high availability option : assureReadOnly

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0
    • Failover
    • None
    • Sprint connector/j 1.3.0

    Description

      When in a multiMaster cluster, when setting connection.setReadOnly(XXX), if database allow it, a SET SESSION TRANSACTION READ ONLY / READ WRITE depending on the XXX value will be executed.

      That's permit to assure never execute write query when in read only mode.
      The downside of this is a query is executing every change of connection.setReadOnly() just to assure that.

      A new option assureReadOnly can be created to tell if this can be avoid.

      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.