Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-5130

rocksdb.unique_sec and rocksdb.unique_sec_rev_cf failing

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Fixed
    • 8.0.13-3, Not 5.7.x
    • 8.0.16-7
    • MyRocks

    Description

      mysqltest: At line 115: Query 'UPDATE t1 SET id1=30, id2=31 WHERE id2=10' failed.
      ERROR 1105 (HY000): Using Gap Lock without full unique key in multi-table or multi-statement transactions is not allowed. You need to either rewrite queries to use all unique key columns in WHERE equal conditions, or rewrite to single-table, single-statement transaction. Query: UPDATE t1 SET id1=30, id2=31 WHERE id2=10
      In included file /media/glorch/ssd/percona/PS/percona-server-install-8.0/mysql-test/var/tmp/2/unique_sec.sql: 115
      included from /media/glorch/ssd/percona/PS/percona-server-install-8.0/mysql-test/suite/rocksdb/t/unique_sec.test: 12
      

      and

      mysqltest: At line 115: Query 'UPDATE t1 SET id1=30, id2=31 WHERE id2=10' failed.
      ERROR 1105 (HY000): Using Gap Lock without full unique key in multi-table or multi-statement transactions is not allowed. You need to either rewrite queries to use all unique key columns in WHERE equal conditions, or rewrite to single-table, single-statement transaction. Query: UPDATE t1 SET id1=30, id2=31 WHERE id2=10
      In included file /media/glorch/ssd/percona/PS/percona-server-install-8.0/mysql-test/var/2/tmp/unique_sec_rev_cf.sql: 115
      included from /media/glorch/ssd/percona/PS/percona-server-install-8.0/mysql-test/suite/rocksdb/t/unique_sec_rev_cf.test: 12
      

      Attachments

        Issue Links

          Activity

            People

              george.lorch George Lorch (Inactive)
              george.lorch George Lorch (Inactive)
              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 - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 3 hours
                  3h

                  Smart Checklist