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

ALTER SEQUENCE ends up in optimistic parallel slave binlog out-of-order

Details

    Description

      Customer is still facing this issue.

      2023-06-01  0:00:00 9 [ERROR] Slave SQL: Error 'An attempt was made to binlog GTID 1-1-213122284 which would create an out-of-order sequence number with existing GTID 1-1-213122286, and gtid strict mode is enabled' on query. Default database: 'xxxx'. Query: 'Alter Sequence seq_xxxx Restart With 1', Gtid 1-1-213122284, Internal MariaDB error code: 1950
       
      2023-06-01  0:00:00 9 [Warning] Slave: An attempt was made to binlog GTID 1-1-213122284 which would create an out-of-order sequence number with existing GTID 1-1-213122286, and gtid strict mode is enabled Error_code: 1950
       
      2023-06-01  0:00:00 10 [ERROR] Slave (additional info): Commit failed due to failure of an earlier commit on which this one depends Error_code: 1964
      

      Earlier bug: MDEV-31077

      This bug was supposed to be fixed in the intermediate MariaDB ES release 10.6.12-8.
      But seems like the customer is still facing the issue.

      Attachments

        1. my_gdb-2.gdb
          2 kB
        2. my_gdb-3.txt
          2 kB
        3. my_gdb-4.txt
          2 kB
        4. my_gdb-5.txt
          2 kB
        5. rpl_parallel_seq_alter.test
          2 kB
        6. Screenshot 2023-09-07 at 5.34.55 PM.png
          Screenshot 2023-09-07 at 5.34.55 PM.png
          33 kB

        Activity

          susmeet.khaire Susmeet Khaire created issue -
          julien.fritsch Julien Fritsch made changes -
          Field Original Value New Value
          Fix Version/s 10.4 [ 22408 ]
          Fix Version/s 10.5 [ 23123 ]
          Fix Version/s 10.6 [ 24028 ]
          julien.fritsch Julien Fritsch made changes -
          Fix Version/s 10.4 [ 22408 ]
          Fix Version/s 10.5 [ 23123 ]
          julien.fritsch Julien Fritsch made changes -
          Assignee Andrei Elkin [ elkin ]
          Elkin Andrei Elkin made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          maxmether Max Mether made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          Elkin Andrei Elkin made changes -
          Attachment my_gdb.batch [ 70694 ]
          Elkin Andrei Elkin made changes -
          Status In Progress [ 3 ] Needs Feedback [ 10501 ]
          Elkin Andrei Elkin made changes -
          Attachment rpl_parallel_seq_alter.test [ 70695 ]
          Elkin Andrei Elkin made changes -
          Attachment rpl_parallel_seq_alter.test [ 70695 ]
          Elkin Andrei Elkin made changes -
          Attachment rpl_parallel_seq_alter.test [ 70701 ]
          Elkin Andrei Elkin made changes -
          Attachment my_gdb.batch [ 70694 ]
          Elkin Andrei Elkin made changes -
          Attachment my_gdb.batch [ 70704 ]
          Elkin Andrei Elkin made changes -
          Attachment my_gdb-1.batch [ 70720 ]
          Elkin Andrei Elkin made changes -
          Attachment my_gdb.batch [ 70704 ]
          Elkin Andrei Elkin made changes -
          Attachment my_gdb-1.batch [ 70720 ]
          Elkin Andrei Elkin made changes -
          Attachment my_gdb-2.gdb [ 70747 ]
          Elkin Andrei Elkin made changes -
          Attachment my_gdb-3.txt [ 70751 ]
          Elkin Andrei Elkin made changes -
          Attachment my_gdb-3.txt [ 70751 ]
          Elkin Andrei Elkin made changes -
          Attachment my_gdb-3.txt [ 70754 ]
          Elkin Andrei Elkin made changes -
          Attachment my_gdb-4.txt [ 70802 ]
          Elkin Andrei Elkin made changes -
          Attachment my_gdb-5.txt [ 70809 ]
          Elkin Andrei Elkin made changes -
          Fix Version/s N/A [ 14700 ]
          Fix Version/s 10.6 [ 24028 ]
          Resolution Incomplete [ 4 ]
          Status Needs Feedback [ 10501 ] Closed [ 6 ]
          Elkin Andrei Elkin made changes -
          Resolution Incomplete [ 4 ]
          Status Closed [ 6 ] Stalled [ 10000 ]
          Elkin Andrei Elkin made changes -
          Assignee Andrei Elkin [ elkin ] Brandon Nesterenko [ JIRAUSER48702 ]
          Status Stalled [ 10000 ] In Review [ 10002 ]
          ralf.gebhardt Ralf Gebhardt made changes -
          bnestere Brandon Nesterenko made changes -
          Assignee Brandon Nesterenko [ JIRAUSER48702 ] Andrei Elkin [ elkin ]
          Status In Review [ 10002 ] Stalled [ 10000 ]
          Elkin Andrei Elkin made changes -
          Fix Version/s 10.4.31 [ 29010 ]
          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 11.0.3 [ 28920 ]
          Fix Version/s 11.1.2 [ 28921 ]
          Fix Version/s 10.8.8 [ 28518 ]
          Fix Version/s N/A [ 14700 ]
          Resolution Fixed [ 1 ]
          Status Stalled [ 10000 ] Closed [ 6 ]
          ralf.gebhardt Ralf Gebhardt made changes -
          Description Customer is still facing this issue.

          {code:java}
          2023-06-01 0:00:00 9 [ERROR] Slave SQL: Error 'An attempt was made to binlog GTID 1-1-213122284 which would create an out-of-order sequence number with existing GTID 1-1-213122286, and gtid strict mode is enabled' on query. Default database: 'xxxx'. Query: 'Alter Sequence seq_xxxx Restart With 1', Gtid 1-1-213122284, Internal MariaDB error code: 1950

          2023-06-01 0:00:00 9 [Warning] Slave: An attempt was made to binlog GTID 1-1-213122284 which would create an out-of-order sequence number with existing GTID 1-1-213122286, and gtid strict mode is enabled Error_code: 1950

          2023-06-01 0:00:00 10 [ERROR] Slave (additional info): Commit failed due to failure of an earlier commit on which this one depends Error_code: 1964
          {code}

          Earlier bug: https://jira.mariadb.org/browse/MDEV-31077

          This bug was supposed to be fixed in the intermediate MariaDB ES release 10.6.12-8.
          But seems like the customer is still facing the issue.
          Customer is still facing this issue.

          {code:java}
          2023-06-01 0:00:00 9 [ERROR] Slave SQL: Error 'An attempt was made to binlog GTID 1-1-213122284 which would create an out-of-order sequence number with existing GTID 1-1-213122286, and gtid strict mode is enabled' on query. Default database: 'xxxx'. Query: 'Alter Sequence seq_xxxx Restart With 1', Gtid 1-1-213122284, Internal MariaDB error code: 1950

          2023-06-01 0:00:00 9 [Warning] Slave: An attempt was made to binlog GTID 1-1-213122284 which would create an out-of-order sequence number with existing GTID 1-1-213122286, and gtid strict mode is enabled Error_code: 1950

          2023-06-01 0:00:00 10 [ERROR] Slave (additional info): Commit failed due to failure of an earlier commit on which this one depends Error_code: 1964
          {code}

          Earlier bug: MDEV-31077

          This bug was supposed to be fixed in the intermediate MariaDB ES release 10.6.12-8.
          But seems like the customer is still facing the issue.
          pandi.gurusamy Pandikrishnan Gurusamy made changes -
          mariadb-jira-automation Jira Automation (IT) made changes -
          Zendesk Related Tickets 109716

          People

            Elkin Andrei Elkin
            susmeet.khaire Susmeet Khaire
            Votes:
            2 Vote for this issue
            Watchers:
            7 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.