Tag

crash recovery

0 views collected around this technical thread.

政采云技术
政采云技术
Dec 27, 2023 · Databases

Understanding MySQL Binary Log (binlog): Architecture, Usage, and Implementation

This article explains MySQL's binary log (binlog), a binary format file that records SQL statements for database updates, its role in master-slave replication, crash recovery, and detailed implementation mechanisms including cache management and event writing processes.

Database InternalsMaster‑SlaveMySQL
0 likes · 8 min read
Understanding MySQL Binary Log (binlog): Architecture, Usage, and Implementation
Tencent Database Technology
Tencent Database Technology
Feb 28, 2023 · Databases

Understanding InnoDB Undo Segment States and MySQL XA Transaction Crash Recovery (MySQL 8.0.30)

This article explains how InnoDB uses undo segment states for crash‑safe recovery, details the XA transaction protocol, describes bugs in earlier MySQL versions, and shows how MySQL 8.0.30 introduces a new undo state and revised prepare order to make external XA transactions crash‑safe, including code examples and recovery steps.

DatabaseInnoDBMySQL
0 likes · 11 min read
Understanding InnoDB Undo Segment States and MySQL XA Transaction Crash Recovery (MySQL 8.0.30)
ByteDance SYS Tech
ByteDance SYS Tech
Nov 23, 2022 · Operations

How Virtio-fs Achieves Crash Recovery for High‑Availability Secure Containers

This article explains the design of Virtio-fs, its architecture and high‑availability features, and details the crash‑recovery mechanism—including crash models, state preservation, supervisor coordination, request idempotence, downtime optimization, and hot upgrade/migration—implemented by ByteDance's STE team for secure container workloads.

Container SecurityFUSEHigh Availability
0 likes · 16 min read
How Virtio-fs Achieves Crash Recovery for High‑Availability Secure Containers
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 6, 2022 · Databases

Understanding MySQL Crash Recovery and the Role of Redo Logs

This article explains how MySQL performs crash recovery by using Redo logs, doublewrite buffers, undo tablespace handling, transaction subsystem initialization, and the processing of active, prepared, and committed transactions to restore data pages and ensure consistency after an unexpected shutdown.

DoublewriteInnoDBMySQL
0 likes · 28 min read
Understanding MySQL Crash Recovery and the Role of Redo Logs
Wukong Talks Architecture
Wukong Talks Architecture
Sep 26, 2021 · Databases

Understanding MySQL Redo Log and Binlog: Architecture, Mechanisms, and Two‑Phase Commit

This article explains MySQL's two essential logs—redo log and binlog—by describing the database's layered architecture, the write‑ahead logging mechanism, persistence strategies, crash‑safe guarantees, and how a two‑phase commit ensures consistency between them.

MySQLTwo-Phase Commitbinlog
0 likes · 12 min read
Understanding MySQL Redo Log and Binlog: Architecture, Mechanisms, and Two‑Phase Commit
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 13, 2020 · Databases

Understanding MySQL 5.7 Crash Recovery and Table‑Space Validation Overhead

This article investigates why MySQL 5.7 crash recovery can take hours on a development instance with thousands of tables, detailing stack‑frame analysis, GDB debugging, InnoDB source inspection of validation logic, performance testing, and methods to bypass the table‑space verification step.

GDBInnoDBMySQL
0 likes · 9 min read
Understanding MySQL 5.7 Crash Recovery and Table‑Space Validation Overhead
Tencent Database Technology
Tencent Database Technology
Sep 14, 2019 · Databases

Understanding MLOG_CHECKPOINT in MySQL InnoDB Crash Recovery

MLOG_CHECKPOINT is a mechanism in MySQL InnoDB crash recovery that ensures complete mapping between space IDs and file paths by supplementing missing MLOG_FILE_NAME records, addressing gaps that could occur between checkpoints and subsequent file modifications.

InnoDBMLOG_CHECKPOINTMySQL
0 likes · 7 min read
Understanding MLOG_CHECKPOINT in MySQL InnoDB Crash Recovery
Architect's Tech Stack
Architect's Tech Stack
Mar 19, 2019 · Fundamentals

Understanding ZAB: The Zookeeper Atomic Broadcast Protocol

This article explains the ZAB protocol—Zookeeper's atomic broadcast and crash‑recovery mechanism—detailing its design, message‑broadcast process, leader election, transaction ordering with ZXID, and how it ensures data consistency and availability in distributed systems.

Atomic BroadcastConsensusZAB
0 likes · 8 min read
Understanding ZAB: The Zookeeper Atomic Broadcast Protocol