Tag

Relay Log

1 views collected around this technical thread.

Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 27, 2025 · Databases

MySQL Replication Failure Analysis: Error 1594 and Relay Log Corruption

This article analyzes a MySQL master‑slave replication failure where the SQL thread stopped with error 1594, detailing log inspection, CRC checks, relay‑log corruption, root‑cause identification, and step‑by‑step remediation procedures for restoring replication.

CRCError 1594MySQL
0 likes · 13 min read
MySQL Replication Failure Analysis: Error 1594 and Relay Log Corruption
Wukong Talks Architecture
Wukong Talks Architecture
Apr 12, 2023 · Databases

Troubleshooting MySQL Master‑Slave Replication: Relay Log Corruption and GTID Skipping

This article explains a MySQL master‑slave synchronization failure caused by a corrupted relay log, walks through the replication principles, analyzes slave status and GTID differences, and provides step‑by‑step commands to skip the problematic GTID and restore replication.

GTIDMySQLRelay Log
0 likes · 13 min read
Troubleshooting MySQL Master‑Slave Replication: Relay Log Corruption and GTID Skipping
Tencent Architect
Tencent Architect
Apr 9, 2021 · Databases

Analysis of Inconsistencies in MySQL Slave Crash Recovery and Sync Master/Relay Log Info

This article analyzes how MySQL slave crashes can cause inconsistencies between master info and relay log positions during sync_master_info and sync_relay_log_info processes, presents case studies of duplicated events, explains the impact of different storage repositories (FILE vs TABLE), and recommends configuration settings to achieve server‑crash‑safe replication.

MySQLRelay LogReplication
0 likes · 15 min read
Analysis of Inconsistencies in MySQL Slave Crash Recovery and Sync Master/Relay Log Info
Tencent Database Technology
Tencent Database Technology
Apr 7, 2021 · Databases

Analysis of Inconsistencies in MySQL Replication after Slave Crash and Configuration Recommendations

This article examines how slave crashes in MySQL replication can cause inconsistencies between master info and relay log positions, leading to duplicate events and errors such as 1062 and 1032, analyzes underlying mechanisms, presents case studies, and proposes configuration settings to achieve server‑crash‑safe replication.

Database ConfigurationMaster InfoMySQL
0 likes · 17 min read
Analysis of Inconsistencies in MySQL Replication after Slave Crash and Configuration Recommendations
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 17, 2019 · Databases

Understanding MySQL Slave Net Timeout, Master Heartbeat Period, and Their Impact on Relay Log Accumulation

The article analyzes a MySQL replication issue where a low slave_net_timeout combined with a larger MASTER_HEARTBEAT_PERIOD causes frequent zombie dump threads, leading to massive small relay‑log files, and provides detailed explanations, code references, and step‑by‑step remediation procedures.

MySQLRelay LogTroubleshooting
0 likes · 14 min read
Understanding MySQL Slave Net Timeout, Master Heartbeat Period, and Their Impact on Relay Log Accumulation
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 16, 2019 · Databases

Understanding MySQL slave_relay_log_info, Relay Log Recovery, and Master Auto Position

This article explains the structure and purpose of the MySQL slave_relay_log_info table, how relay log positions are persisted and synchronized, the role of master_auto_position and GTID, and the mechanisms of relay_log_recovery to ensure reliable replication after crashes.

DatabaseGTIDMaster Auto Position
0 likes · 12 min read
Understanding MySQL slave_relay_log_info, Relay Log Recovery, and Master Auto Position
Youzan Coder
Youzan Coder
Mar 27, 2019 · Databases

MySQL Slave Crash-Safe Feature Analysis

The article examines MySQL 5.6’s crash‑safe slave replication, explaining how earlier versions’ unsafe relay‑log handling could corrupt position data, describing the atomic update of mysql.slave_relay_log_info via table‑based relay‑log info and transaction coordination, and covering configuration options, recovery behavior, GTID implications, performance trade‑offs, and implementation guidance.

DatabaseGTIDHigh Availability
0 likes · 9 min read
MySQL Slave Crash-Safe Feature Analysis