Uploaded image for project: 'Percona XtraDB Cluster'
  1. Percona XtraDB Cluster
  2. PXC-889

Fallback when wsrep_provider cannot load the library allows writes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      i was experiencing: https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1728774

       

      This is the output I got:

      2017-11-08T04:03:02.693739Z 0 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib64/libgalera_smm.so'
      2017-11-08T04:03:02.695172Z 0 [ERROR] WSREP: wsrep_load(): dlopen(): /usr/lib64/libgalera_smm.so: symbol SSL_COMP_free_compression_methods, version libssl.so.10 not defined in file libssl.so.10 with link time reference
      2017-11-08T04:03:02.695188Z 0 [ERROR] WSREP: Failed to load wsrep_provider (/usr/lib64/libgalera_smm.so). Error: Invalid argument (code: 22). Reverting to no provider.

       

       

      The problem here is that when the galera library cannot be loaded, it falls back to 'none', which means the database will start as an individual mysql server, accepting read AND WRITE traffic.

      This can cause split brain.

      We should not fall back when the provider cannot be loaded and abort mysql start.

       

        Attachments

          Activity

            People

            Assignee:
            kenn.takara Kenn Takara
            Reporter:
            gryp Kenny Gryp (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Smart Checklist