Done
Details
Assignee
Robert GolebiowskiRobert Golebiowski(Deactivated)Reporter
Robert GolebiowskiRobert Golebiowski(Deactivated)Labels
Time tracking
4d 4h loggedFix versions
Priority
High
Details
Details
Assignee
Robert Golebiowski
Robert Golebiowski(Deactivated)Reporter
Robert Golebiowski
Robert Golebiowski(Deactivated)Labels
Time tracking
4d 4h logged
Fix versions
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created June 24, 2019 at 8:14 AM
Updated March 6, 2024 at 12:03 PM
Resolved July 20, 2020 at 9:06 AM
Currently user can rotate a key using rotate_system_key function. It can be called with SELECT statement. SELECT statement replication varies based on binlog format. This may be problematic. MySQL introduced two flavors of ALTER INSTANCE for key rotation:
for MK encryption the statement is always replicated.
for Binlog encryption the statement is never replicated.
We want to mimic this behavior to be more in sync with how upstream behaves.
Since binlog encryption implementation is now replaced by upstream feature we no longer need to implement rotation for binlog encryption key. Only percona_innodb system key rotation will be replaced with the ALTER INSTANCE statement.