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

Test main.percona_heap_blob is unstable

Details

    • Bug
    • Status: Done
    • Low
    • Resolution: Fixed
    • 8.0.x, Not 5.6.x, Not 5.7.x
    • 8.0.15-6
    • None

    Description

      On 8.0, intermittently:

      190307  9:02:37 [ 69%] main.percona_heap_blob                   w6  [ fail ]
              Test ended at 2019-03-07 09:02:37
      
      CURRENT_TEST: main.percona_heap_blob
      --- /tmp/results/PS/mysql-test/r/percona_heap_blob.result	2019-03-07 10:36:43.000000000 +0300
      +++ /tmp/results/PS/mysql-test/var/6/log/percona_heap_blob.reject	2019-03-07 12:02:36.749051908 +0300
      @@ -749,9 +749,9 @@
       select hex(a) from t1 order by a;
       hex(a)
       NULL
      -6100
       61
       61
      +6100
       6161
       62
       select hex(concat(a,'\0')) as b from t1 order by concat(a,'\0');
      

      This is an occurrence of upstream https://bugs.mysql.com/bug.php?id=93472. The issue is that the char(5) column being queried is in utf8mb4_0900_ai_ci collation, where the trailing spaces and \0 compare equal, making ordering non-determinstic. A binary collation should be used instead.

      Attachments

        Activity

          People

            laurynas.biveinis Laurynas Biveinis (Inactive)
            laurynas.biveinis Laurynas Biveinis (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 - 1 hour, 1 minute
                1h 1m

                Smart Checklist