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

PrepareStatement on master reconnection after a failover

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 1.4.3
    • 1.4.4
    • Failover
    • None

    Description

      When using prepareStatement on server side and cache prepareStatement is activate (default configuration) on a master-slaves configuration :

      If the prepareStatement is to be executed on master, after a failover, the first execution will work, but next executions will be executed on slaves.
      Resulting error will be :
      "The MySQL server is running with the --read-only option so it cannot execute this statement"

      This concern only version 1.4.3

      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.