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

wsrep_node_is_ready() check is too strict

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.1, 10.0-galera, 5.5-galera
    • Fix Version/s: 10.1.21
    • Component/s: wsrep
    • Labels:
      None

      Description

      The check that prints the dreaded "WSREP has not yet prepared node for application use" is sometimes too strict. It doesn't allow any selects, even if these selects do not access any tables. For example, I'd think that

      SELECT 1;
      

      or, for example,

      SELECT @@max_allowed_packet;
      

      could be allowed. This is easy to do, one should not report this error if all_tables is NULL.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sachin.setiya.007 Sachin Setiya
              Reporter:
              serg Sergei Golubchik
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: