惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
WordPress大学
WordPress大学
Vercel News
Vercel News
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
I
InfoQ
小众软件
小众软件
Recent Announcements
Recent Announcements
博客园 - 【当耐特】
The GitHub Blog
The GitHub Blog
大猫的无限游戏
大猫的无限游戏
美团技术团队
T
The Blog of Author Tim Ferriss
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog
V
V2EX
J
Java Code Geeks
有赞技术团队
有赞技术团队
博客园 - 聂微东
B
Blog RSS Feed
博客园 - 司徒正美

kmcd.dev

Joining Buf Let The Gravity of Ashburn, Virginia The CPU Cost of Protobuf Varints in Go It Beating Go gRPC-Web Should Have Fixed gRPC Making Dynamic Protobuf Fast in Go Proxy, Record, and Mock gRPC APIs with FauxRPC Exploring Protocol Buffers Interactively Introducing ProtoDocs Ghost in the Shell: The Manga Behind the Anime The Hidden Cost of google.protobuf.Value Why Networking Built Its Own Data Modeling Language Zero-Friction Demos with WASM Let's Learn About BGP ConnectRPC: Where is it now? Building APIs with Contracts The Case for Greppable Code Unknown Fields in Protobuf IRC Log: Reactionary Faking protobuf data in Go Y'all are Sleeping on Mise-en-Place IRC Log: Standup 2 HTTP/2 From Scratch: Part 4 HTTP/2 From Scratch: Part 3 Building a Live BGP Map HTTP/2 From Scratch: Part 2 IRC Log: The Cloud Scale Incident Visualizing the Internet (2026)
IRC Log: rm -rf /var/opt/gitlab/postgresql/data
2026-03-09 · via kmcd.dev

The Incident Log: January 31, 2017

[23:00] *** Topic: DB Replication Lag | Status: 🔴 Critical

[23:05] *** tired_sysadmin has joined

[23:10] <tired_sysadmin> Replication is stuck again. The secondary node (db2) is refusing to sync.

[23:11] <tired_sysadmin> I’m going to wipe the data directory on db2 and let it pull a fresh copy from master.

[23:12] <tired_sysadmin> rm -rf /var/opt/gitlab/postgresql/data

[23:12] <tired_sysadmin> Weird. It’s taking a while. Usually empty directories delete instantly.

[23:13] <helper_dev> Hey, why did the website just go 500?

[23:13] <tired_sysadmin>

[23:13] <tired_sysadmin> I’m looking at my terminal prompt.

[23:14] <tired_sysadmin> It says root@db1.

[23:14] <helper_dev> db1 is Prod. You are deleting Prod.

[23:15] <tired_sysadmin> CTRL+C CTRL+C CTRL+C

[23:15] <tired_sysadmin> Okay, I stopped it. How much is left?

[23:16] <helper_dev> Checking… The directory is 4.5KB.

[23:16] <tired_sysadmin> We had 300GB of data.

[23:17] <helper_dev> Okay, don’t panic. We have 5 different backup mechanisms. Let’s check S3.

[23:20] <helper_dev> S3 bucket is empty. The backup script has been failing silently since version 8.1.

[23:21] <tired_sysadmin> Check the Azure disk snapshots.

[23:22] <helper_dev> Not enabled.

[23:23] <tired_sysadmin> …LVM snapshots?

[23:24] <helper_dev> We take them every 24 hours. We just lost 6 hours of data.

[23:25] <tired_sysadmin> I am going to live stream the restoration on YouTube so people don’t kill us.

Postmortem of database outage of January 31