Done
Details
Assignee
UnassignedUnassignedReporter
Ramesh SivaramanRamesh Sivaraman(Deactivated)Needs Doc
YesTime tracking
1d 1h 35m loggedComponents
Affects versions
Priority
High
Details
Details
Assignee
Unassigned
UnassignedReporter
Ramesh Sivaraman
Ramesh Sivaraman(Deactivated)Needs Doc
Yes
Time tracking
1d 1h 35m logged
Components
Affects versions
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created March 2, 2020 at 6:21 AM
Updated March 6, 2024 at 9:46 PM
Resolved May 7, 2020 at 7:56 PM
We have a proposed behavioral change for PXC. It occurs when PXB specifies it's own encryption settings.
PXB has it's own encryption/decryption methods
In PXC 5.7, this is the basically the same as the SST encrypt=1 setting.
However, when encrypt=0 is used and the xtrabackup options are set, a warning is issued because the SST will fail. Actually, this should always fail, so I'm not sure why this is set to be a warning.
(it will fail, because the .cnf is not passed to "xtrabackup --prepare", and the prepare doesn't know what to do with the encrypted datadir). If encrypt=1 is used, the settings are passed via the command-line and will override the command-line settings. If any of the other encrypt modes are used, it will also fail, although no warnings are issued in those cases.
In PXC 8.0, we have removed the encrypt=1 option, so the use of the xtrabackup settings will always fail. I think that our options here are to:
(1) Change the warning into an error (and the check will always be done no matter the encryption settings). Specifying the xtrabackup encryption settings are no longer allowed (when used for an SST).
(2) Keep the encrypt=1 PXC mode.
Since we're moving everything to SSL, I think it's preferable to do (1). Plus, it will fail when pxc-encrypt-cluster-traffic is enabled.