Done
Details
Assignee
Anton MatvienkoAnton MatvienkoReporter
Isobel SmithIsobel SmithLabels
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee
Anton Matvienko
Anton MatvienkoReporter
Isobel Smith
Isobel SmithLabels
Fix versions
Affects versions
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created May 7, 2022 at 11:58 AM
Updated March 6, 2024 at 8:56 PM
Resolved February 20, 2023 at 10:19 AM
Hey,
When setting
socket.ssl = NO
inwsrep_provider_options
without explicitly specifying if SSL is used in the[SST]
part ofmy.cnf
, not only will the state transfer fail, but it will crash the donor node as well as the receiver node.The respective parts of
my.cnf
Logs from the donor:
Logs of the receiver:
To us it looks like the cause is:
When setting
socket.ssl = NO
, the donor does not expect SSL Traffic in state transfer connections.But unless explicitly configuring
[SST]
to not use SSL, it will use SSL.This makes sent/received packages unreadable for both ends
This causes crashes on the donor and the receiver.
On a three node cluster, where
Node 3 dropped out and tried to re-join with an automatic state transfer from Node 2
Node 3 will crash and hang
Node 2 will also crash and hang
Node 1 will be left alone and therefore transition into Non-Primary.
How we would it expect to behave:
Error handling on sender and receiver side
Maybe even explicitly detecting misalignment on SSL-config and print an error hinting to this
but definitely not crashing MySQL.