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

Fix error message for split-brain

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.5.36-galera, 10.0.10-galera
    • Fix Version/s: 5.5.37-galera
    • Component/s: None
    • Labels:

      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

            Assignee:
            nirbhay_c Nirbhay Choubey (Inactive)
            Reporter:
            nirbhay_c Nirbhay Choubey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: