Tagged articles
Crash Recovery
27 articles · Page 1 of 1
This article systematically breaks down database high availability into five layers — single-node durability via WAL and two-phase commit, master-slave replication with async and semi-sync modes, GTID-based global transaction identification, consistent failover with fencing, and automated failover using Orchestrator and probe-agent — illustrating each with real-world failure cases and configuration details.
Crash RecoveryFailoverGTID
0 likes · 25 min read

This article details a five-layer database high availability architecture: single-node crash recovery via WAL and two-phase commit, asynchronous and semi-synchronous replication trade-offs, GTID-based global transaction identification for seamless failover, fencing mechanisms to prevent split-brain, and Orchestrator with probe-agent for automated failure detection and failover execution.
Crash RecoveryFailoverFencing
0 likes · 26 min read

This article systematically explains database high availability through five layers: single-node crash recovery via WAL and two-phase commit, replication modes (async vs semi-sync) and RPO trade-offs, GTID-based global transaction identification for safe failover, fencing and PRS/ERS switching protocols to prevent split-brain, and Orchestrator's cross-check failure detection with probe-agent for automated failover.
Crash RecoveryFailoverGTID
0 likes · 28 min read

Vercel open-sources durable-harness, an adapter that adds durable execution to coding agents like Claude Code and Codex by logging every model and tool call to a persistent log, enabling automatic recovery after crashes with configurable replay strategies for safe and unsafe tools, flexible deployment from local files to Postgres, and multiple filesystem modes for different workloads.
AI agentsCrash RecoveryVercel
0 likes · 5 min read

This guide covers systemd service management essentials: using systemctl for start/stop/enable, interpreting service status, creating custom unit files with auto-restart, querying logs via journalctl, and troubleshooting common failures like missing daemon-reload or environment mismatches.
Crash RecoveryLinuxauto-start
0 likes · 8 min read

The article details a Java framework that uses event sourcing as the sole fact source, a deterministic rule table for control-plane decisions, and mechanisms for crash recovery, concurrency control, budget enforcement, compliance gating, and non-blocking human approvals to make long-running, costly multi-agent video pipelines reliable.
Crash RecoveryJava frameworkbudget enforcement
0 likes · 30 min read


TonyBaiOct 3, 2026 · Artificial Intelligence
The article analyzes Pi 1.0 and Pi Durable, a minimalist agent harness framework that now supports MCP via Codemode, introduces virtual model routing, and provides six durability primitives including crash recovery, session forking, and background compression for long-running, multi-user agent applications.
Agent HarnessCodemodeCrash Recovery
0 likes · 27 min read


ArchitectOct 1, 2026 · Artificial Intelligence
This article compares Pi and DeepSeek Harness agent loop architectures across four control points—input attribution, tool scheduling, closure permissions, and persistent evidence—revealing how each handles mid-task user constraints, parallel tool execution, token truncation, and crash recovery through distinct runtime contracts and durable extensions.
Agent ArchitectureCrash RecoveryDeepSeek Harness
0 likes · 20 min read


ITPUBSep 7, 2026 · Databases
This article explains InnoDB's checkpoint mechanism, contrasting synchronous and fuzzy checkpoints, detailing the pre-MySQL 8.0 fuzzy checkpoint implementation using flush lists and page cleaners, and describing two principles for detecting abnormal shutdowns plus four post-restart crash scenarios with their recovery requirements.
Crash RecoveryInnoDBLSN
0 likes · 11 min read


21CTOSep 4, 2026 · Databases
ElephpantDB is an experimental SQL database implemented in a single PHP file, supporting CREATE TABLE, SELECT, UPDATE, DELETE, indexes, prepared statements, an append-only heap with crash recovery, hash indexes, and an optional HTTP JSON endpoint, running on PHP 8.3+.
Crash RecoveryElephpantDBHTTP API
0 likes · 5 min read

PI's 3,446-line harness-v2.md redesigns the agent runtime around crash recovery as the primary constraint, using intent records with provisioned IDs, a four-layer session state, persisted retry counts, deferred writes to preserve provider KV cache, and exhaustive crash-point testing via manual drive mode.
Crash RecoveryKV cache preservationPi agent
0 likes · 27 min read

The article explains the design of Hermes' terminal UI gateway, detailing why the TUI does not import the Agent directly, how JSON‑RPC over stdio or WebSocket enables local and remote modes, and how slash commands are processed through a two‑layer routing system with a dedicated _SlashWorker subprocess and a pure‑function crash‑recovery plan.
Crash RecoveryGatewayHermes
0 likes · 16 min read

The article explains that MySQL redo log operates at the InnoDB engine layer to ensure transaction durability and crash recovery, while binlog works at the server layer to record logical changes for replication, archiving, and point‑in‑time recovery, highlighting their distinct layers, purposes, content, and write mechanisms.
Crash RecoveryInnoDBMySQL
0 likes · 4 min read

This article provides detailed explanations of ten core MySQL topics—including InnoDB lock upgrades, redo log mechanics, MVCC version chains, tablespace types, page splitting, optimizer plan selection, crash recovery, binlog vs redo log, adaptive hash index, and memory management—along with practical tips for avoiding pitfalls and tuning performance.
Adaptive Hash IndexCrash RecoveryInnoDB
0 likes · 22 min read

The article analyzes a MySQL 5.7 replication bug where, after consecutive crashes, the slave ends up with more GTIDs than the master because the last binlog’s GTIDs are not persisted, and demonstrates the problem using GDB debugging and step‑by‑step reproduction.
Crash RecoveryDatabase InternalsDebugging
0 likes · 8 min read


政采云技术Dec 27, 2023 · Databases
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.
Crash RecoveryDatabase InternalsDatabase Replication
0 likes · 8 min read

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.
Crash RecoveryInnoDBMySQL
0 likes · 11 min read

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.
Crash RecoveryFUSEKVM
0 likes · 16 min read

This article explains MySQL's crash recovery process, covering how the doublewrite buffer repairs corrupted pages, how redo logs are applied to restore data, and how undo tablespaces and unfinished transactions are handled during server startup.
Crash RecoveryDoublewriteInnoDB
0 likes · 29 min read

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.
Crash RecoveryDoublewriteInnoDB
0 likes · 28 min read

This article explains MySQL's layered architecture, the roles and mechanisms of redo log and binlog, their write and flush strategies, crash‑safe guarantees, and how two‑phase commit ensures consistency, providing practical commands and configuration tips for reliable database operation.
Crash RecoveryDatabase LoggingMySQL
0 likes · 13 min read

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.
Crash RecoveryDatabase LoggingMySQL
0 likes · 12 min read

This article explains how PolarDB ensures transaction atomicity by analyzing ACID principles, detailing the shortcomings of simple Direct‑IO and Buffer‑IO, introducing write‑ahead logging, full‑page backup, checkpointing, visibility mechanisms, and distinguishing durability and atomicity points to achieve reliable crash recovery and consistent data visibility.
Crash RecoveryPolarDBWAL
0 likes · 30 min read

This article explains the ZAB (ZooKeeper Atomic Broadcast) protocol, detailing its atomic broadcast mechanism, two‑phase commit style messaging, transaction IDs (ZXID), leader‑follower coordination, crash recovery principles, data synchronization, and the underlying ZXID design with illustrative code snippets.
Crash RecoveryDistributed ConsensusZAB
0 likes · 11 min read

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.
Crash RecoveryInnoDBMySQL
0 likes · 9 min read

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.
ConsensusCrash RecoveryZAB
0 likes · 8 min read


ITPUBJun 4, 2017 · Databases
This article explains Oracle instance recovery, detailing when it is needed, how checkpoints and SCNs are recorded during clean and abnormal shutdowns, and the step‑by‑step forward‑roll and rollback process performed by SMON to restore database consistency after a crash.
Crash RecoveryInstance RecoveryOracle
0 likes · 8 min read
