🗑️
Enterprise SaaS 产品技术与架构落后 2017 - 2017

GitLab 数据库误删事故:为什么一家做代码托管的公司,会有五个备份却一个都用不上?

备份的价值不在于配置了几套,而在于最近一次恢复演练是什么时候

GitLab 数据库误删事故:巅峰期面向开发者的代码托管与协作平台,以开源与自托管方案在企业市场快速扩张,是同类服务中增长较快的产品;终局是工程师误在生产数据库执行删除操作,五个备份机制同时失效,最终只能从数小时前的快照恢复,丢失部分用户数据,公司全程公开直播了事故复盘。

Official site
See the patterns
公开报道整理 待核查 Figures as of 2017 4 sources(1 primary) What do these mean?

How to read this bar

This bar states plainly what we know and what we have checked, so you can judge it yourself.

· Review status: “pending” means no editor has checked it against the sources yet; “checked” means key facts match the sources.

· Figures as of: the year the numbers are current to; later changes are out of scope.

· Sources: listed one by one at the bottom of the page. “Primary” means official filings, annual reports or regulator documents.

· Corrections: every change and its basis is published — nothing is edited silently.

Editorial policy → Editorial policy: the full inclusion rules, verification process, AI disclosure and correction promise.

No English translation for this case yet — showing the stored original.
Peak valuation

面向开发者的代码托管与协作平台,以开源与自托管方案在企业市场快速扩张,是同类服务中增长较快的产品

Final cost

工程师误在生产数据库执行删除操作,五个备份机制同时失效,最终只能从数小时前的快照恢复,丢失部分用户数据,公司全程公开直播了事故复盘

Attribution votes

4,944 votes cast

Community output

1 plans · 1 insights

Sponsored
把你亲历的失败写进来

投稿会先进入待审,通过后才进入公开目录和站点地图。

Root Causes Consensus Poll

Vote for the primary fatal error that caused this enterprise to collapse.

产品技术

生产环境缺少强制保护与二次确认

删除操作能在生产库上直接执行,没有审批或延迟机制

1,626 votes (33%)
组织管理

备份机制未经过实际恢复验证

五个备份中多数存在配置失效,从未被真正演练过

1,366 votes (28%)
组织管理

生产与备份环境的权限边界不清

操作与验证的分工不明,误操作缺少阻断

1,106 votes (22%)
战略

数据丢失后的恢复粒度不足

只能按小时级快照恢复,无法做到更细粒度的数据找回

846 votes (17%)

Sources

4 sources · 1 primary

These are the references used to compile this case; the numbers match the [1][2] marks in the timeline. Primary sources come first, and archive links are kept where possible.

1 of these are overseas sites (Wikipedia, the Internet Archive, etc.) that may be unreachable from mainland China, so domestic sources (Baidu Baike, mainstream financial media, exchange filings) have been added wherever possible.

  1. [1]
    官方网站(Wikidata 登记) Primary 官方资料
    about.gitlab.com Accessed 2026-10-04
  2. [2]
    维基百科:GitLab 其他 Overseas site
    Wikipedia Accessed 2026-10-04
  3. [3]
    百度百科:gitlab(代码与文档管理工具) 其他
    百度百科 Accessed 2026-10-05
  4. [4]
    东方财富:Gitlab Inc-A(GTLB) 其他
    东方财富网 Accessed 2026-10-05