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

KILL QUERY maintains nodes data consistency but breaks GTID sequence

Details

    Description

      GTID sequence drifts between Write node and appliers node by issueing some KILL QUERY statements on a Galera node which is operating user's transactions.
      Data consistency is maintained and wsrep_last_committed is in sync.

      NOTE: It's not always sufficient to issue one single KILL QUERY, I should do more fine grained research to determine what are the specific circumstances, in my current tests I reproduced it by killing some random mysqlslap queries.

      GTID sequence de-alignment breaks among others maxscale auto-failover.
      To make things more complicated in the current attached pictures test Writer is behind but in other tests Writer went ahead(see attached txt for 2nd test)

      Attachments

        Issue Links

          Activity

            claudio.nanni Claudio Nanni created issue -
            claudio.nanni Claudio Nanni made changes -
            Field Original Value New Value
            Attachment 2nd_Test-galera_gtid_drift_kill_query.txt [ 69569 ]
            claudio.nanni Claudio Nanni made changes -
            Attachment 2nd_Test-galera_gtid_drift_kill_query.txt [ 69569 ]
            claudio.nanni Claudio Nanni made changes -
            julien.fritsch Julien Fritsch made changes -
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Fix Version/s 10.6 [ 24028 ]
            Fix Version/s 10.3 [ 22126 ]
            julien.fritsch Julien Fritsch made changes -
            Fix Version/s 10.3 [ 22126 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.6 [ 24028 ]
            claudio.nanni Claudio Nanni made changes -
            Description GTID sequence drifts between Write node and appliers node by issueing some KILL QUERY statements on a Galera node which is operating user's transactions.
            Data consistency is maintained and wsrep_last_committed is in sync.
            GTID sequence de-alignment breaks among others maxscale auto-failover.
            To make things more complicated in the current attached pictures test Writer is behind but in other tests Writer went ahead(see attached txt for 2nd test)

            GTID sequence drifts between Write node and appliers node by issueing some KILL QUERY statements on a Galera node which is operating user's transactions.
            Data consistency is maintained and wsrep_last_committed is in sync.

            NOTE: It's not always sufficient to issue one single KILL QUERY, I should do more fine grained research to determine what are the specific circumstances, in my current tests I reproduced it by killing some random mysqlslap queries.

            GTID sequence de-alignment breaks among others maxscale auto-failover.
            To make things more complicated in the current attached pictures test Writer is behind but in other tests Writer went ahead(see attached txt for 2nd test)

            ralf.gebhardt Ralf Gebhardt made changes -
            Component/s Galera [ 10124 ]
            Assignee Jan Lindström [ JIRAUSER53125 ]
            janlindstrom Jan Lindström made changes -
            janlindstrom Jan Lindström made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            julien.fritsch Julien Fritsch made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            julien.fritsch Julien Fritsch made changes -
            Status In Progress [ 3 ] Needs Feedback [ 10501 ]
            claudio.nanni Claudio Nanni made changes -
            Status Needs Feedback [ 10501 ] Open [ 1 ]
            janlindstrom Jan Lindström made changes -
            Fix Version/s 10.5.21 [ 28913 ]
            Fix Version/s 10.6.14 [ 28914 ]
            Fix Version/s 10.9.7 [ 28916 ]
            Fix Version/s 10.10.5 [ 28917 ]
            Fix Version/s 10.11.4 [ 28918 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.5.22 [ 29011 ]
            Fix Version/s 10.6.15 [ 29013 ]
            Fix Version/s 10.9.8 [ 29015 ]
            Fix Version/s 10.10.6 [ 29017 ]
            Fix Version/s 10.11.5 [ 29019 ]
            Fix Version/s 10.5.21 [ 28913 ]
            Fix Version/s 10.6.14 [ 28914 ]
            Fix Version/s 10.9.7 [ 28916 ]
            Fix Version/s 10.10.5 [ 28917 ]
            Fix Version/s 10.11.4 [ 28918 ]
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 153816

            People

              janlindstrom Jan Lindström
              claudio.nanni Claudio Nanni
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.