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

innodb_redo_log_encrypt must not be settable when server is not started with keyring

    Details

      Description

      While testing PS-4556, it is noticed that if server is started without keyring support, we are still able to execute below queries:

      mysql> set global innodb_redo_log_encrypt=master_key;
      Query OK, 0 rows affected (0.00 sec)

      mysql> set global innodb_redo_log_encrypt=keyring_key;
      Query OK, 0 rows affected (0.00 sec)

      Ideally, it should return an error similar to:
      ERROR 3185 (HY000): Can't find master key from keyring, please check in the server log if a keyring plugin is loaded and initialized successfully.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  zsolt.parragi Zsolt Parragi
                  Reporter:
                  mohit.joshi Mohit Joshi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 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 - 2 days, 3 hours, 57 minutes
                    2d 3h 57m