Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6171

Fix error message for split-brain

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 5.5.36-galera, 10.0.10-galera
    • 5.5.37-galera
    • None

    Description

      In a split-brain situation, if a user tries to run a command (other than SET/SHOW), it will fail with the following error :

      ERROR 1047 (08S01): Unknown command

      It makes little sense. However, during code inspection I found that
      actually a better error message was used wrongly with my_error(),
      which eventually ignore it. (fix : use my_message() instead)

      ..
      my_error(ER_UNKNOWN_COM_ERROR, MYF(0),
      "WSREP has not yet prepared node for application use");
      ..

      Attachments

        Activity

          People

            nirbhay_c Nirbhay Choubey (Inactive)
            nirbhay_c Nirbhay Choubey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.