Details

    Description

      WSREP GTID MODE is inconsistent

      When you create a Galera cluster with the following configuration according to documentation:

      # NODE 1 (m1)
      wsrep_gtid_mode=ON
      wsrep_gtid_domain_id=1111
      gtid_domain_id=2
      server_id=10999
      log_slave_updates=ON
      log_bin = /var/log/mysql/mariadb-bin-log
       
      # NODE 2 (m2)
      wsrep_gtid_mode=ON
      wsrep_gtid_domain_id=1111
      gtid_domain_id=3
      server_id=10999
      log_slave_updates=ON
      log_bin = /var/log/mysql/mariadb-bin-log
       
      # NODE 3 (m3)
      wsrep_gtid_mode=ON
      wsrep_gtid_domain_id=1111
      gtid_domain_id=4
      server_id=10999
      log_slave_updates=ON
      log_bin = /var/log/mysql/mariadb-bin-log
      

      Sometimes, the nodes will stay in sync. However, if the following is done:
      1) transactions run on all three nodes
      2) restart mariadb on any node
      3) restart all three nodes, using galera_new_cluster on a different node from first startup

      Then, GTIDs will become inconsistent both at the domain level and at the seq_no level.

      This is not difficult to reproduce.

      Attachments

        1. after-restart-all-three-nodes-galera-new-cluster-was-on-m2.png
          after-restart-all-three-nodes-galera-new-cluster-was-on-m2.png
          87 kB
        2. n1.cnf
          1.0 kB
        3. n2.cnf
          1.0 kB
        4. n3.cnf
          1.0 kB

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Jan Lindström made transition -
            Open In Progress
            60d 10h 40m 1
            Seppo Jaakola made transition -
            In Progress In Review
            35d 7h 6m 2
            Julius Goryavsky made transition -
            In Review Stalled
            10d 8h 15m 2
            Julius Goryavsky made transition -
            Stalled In Progress
            27d 3h 18m 2
            Julius Goryavsky made transition -
            In Progress Closed
            22s 1

            People

              sysprg Julius Goryavsky
              edward Edward Stoever
              Votes:
              3 Vote for this issue
              Watchers:
              12 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.