I have a mysql cluster running in a k8s cluster with mysql router and mysql operator…
- User
I have a mysql cluster running in a k8s cluster with mysql router and mysql operator pods controlling three mysql replica pods. Each pod has a Longhorn generated pv attached. One of the pods has restarted nearly 1000 times in the past few days, with this repeating error: 2023-09-24T12:52:27.983968Z 26 [ERROR] [MY-010596] [Repl] Error reading relay log event for channel 'group_replication_applier': corrupted data │ │
Assistant
The error message "Error reading relay log event for channel 'group_replication_applier': corrupted data" indicates that the relay log for the group_replication_applier channel is corrupted. This can happen for a variety of reasons, such as a power outage or hardware failure.
To fix this error, you will need to restore the relay log from a backup. If you do not have a backup, you will need to recreate the relay log by running the following command:
mysql> RESET SLAVE ALL;Once the relay log has been restored or recreated, you should be able to start the group_replication_applier service and the error should be resolved.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.