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

Possible to enable expand_fast_index_creation variable when functionality not implemented

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 8.0.13-3
    • Fix Version/s: 8.0.13-3
    • Component/s: None
    • Labels:
      None

      Description

      Related to PS-5124, made a comment there first but it was decided that a new bug would be better.

      This is fixed for changing the variable while the server is running, but I can still start the server with "expand_fast_index_creation=ON" and have it enabled, here's how it looks:

      8.0.13>show variables like 'expand_fast_index_creation';
      +----------------------------+-------+
      | Variable_name              | Value |
      +----------------------------+-------+
      | expand_fast_index_creation | OFF   |
      +----------------------------+-------+
      1 row in set (0.01 sec)
      
      8.0.13>set global expand_fast_index_creation=ON;
      ERROR 1238 (HY000): Variable 'expand_fast_index_creation' is a read only variable
      
      
      specify "--expand_fast_index_creation=ON" in startup options and restart
      
      8.0.13>show variables like 'expand_fast_index_creation';
      +----------------------------+-------+
      | Variable_name              | Value |
      +----------------------------+-------+
      | expand_fast_index_creation | ON    |
      +----------------------------+-------+
      1 row in set (0.02 sec)
      

      which means if somebody has it enabled on 5.7 (via my.cnf) and does upgrade he will not notice that this is broken - it would be better if error is thrown at this moment.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  laurynas.biveinis Laurynas Biveinis (Inactive)
                  Reporter:
                  tomislav.plavcic@percona.com Tomislav Plavcic
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 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, 48 minutes
                    1h 48m