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

NULL/VOID DDL can commit out-of-order

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.23
    • Component/s: None
    • Security Level: Public Bug
    • Labels:
      None

      Description

      Let's understand this through steps to reproduce

      • Single node pxc cluster
      • create database and start any workload (example: sysbench)
      • Now from other client try to create same database that already exist. CREATE DATABASE test;
      • Since db already exist, MySQL db creation will fail but given this is a DDL statement it is pre-replicated on cluster using TOI and so it has valid cluster seqno assigned.
      • TOI ddl cleanup code will try to update wsrep co-ordinates in InnoDB header even though statement has failed.
      • When running workload try to update these wsrep co-ordinate it detects that future transaction has already updated it. this shouldn't happen given strict commit ordering,.

        Attachments

          Activity

            People

            • Assignee:
              krunal.bauskar Krunal Bauskar
              Reporter:
              krunal.bauskar Krunal Bauskar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d