Uploaded image for project: 'Percona XtraBackup'
  1. Percona XtraBackup
  2. PXB-1634

CREATE TABLE fails with DUPLICATE KEY error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Pending Release
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0-2-alpha2
    • Component/s: None
    • Labels:
      None

      Description

      This happens after full backup and restore:

      2018-08-28 06:21:22: run.sh: ===> /mnt/jenkins/workspace/percona-xtrabackup-8.0-param-medium/BUILD_TYPE/release/Host/min-centos-7-x64/xtrabackuptarget/innodb80/storage/innobase/xtrabackup/test/server/bin/mysql --defaults-file=/mnt/jenkins/workspace/percona-xtrabackup-8.0-param-medium/BUILD_TYPE/release/Host/min-centos-7-x64/xtrabackuptarget/innodb80/storage/innobase/xtrabackup/test/var/w1/var1/my.cnf -e CREATE TABLE t(a INT) test
      ERROR 1062 (23000) at line 1: Duplicate entry '307' for key 'PRIMARY'
      2018-08-28 06:21:22: run.sh: ===> mysql failed with exit code 1

      as seen inĀ https://pxb.cd.percona.com/view/PXB%208.0/job/percona-xtrabackup-8.0-param-medium/3/BUILD_TYPE=release,Host=min-centos-7-x64,xtrabackuptarget=innodb80/testReport/junit/(root)/t_xb_basic/sh/

        Attachments

          Activity

            People

            • Assignee:
              sergei.glushchenko Sergei Glushchenko
              Reporter:
              sergei.glushchenko Sergei Glushchenko
            • 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 - 3 days
                3d