If restart mysql on one node after setting up replication, the following error occurs.
==============================================================
The 2 mysql nodes keep restarting themselves by turn.
Release : 10.0
Component : API GATEWAY
Should be due to mysql bug #30774692: MYSQL CRASHES WITH SLAVE_COMPRESSED_PROTOCOL=ON
Workaround:
Before the new patch or version to release, the following workaround will fix the issue,
Solution:
Upgrade the mysql to 8.0.20 or above -- applying the latest platform patch will upgrade the mysql and fix the issue.
https://github.com/mysql/mysql-server/commit/3bb12a7a564265c5f149c887253af903ebbf77a9
https://support.broadcom.com/web/ecx/support-content-notification/-/external/content/release-announcements/CA-API-Gateway-Solutions--Patches/3024