Catalogue / algolia-2023-ssd-trim-corruption

TRIM zeroed live 512-byte blocks on some of Algolia's SSDs and corrupted search servers; disabling TRIM stopped new corruption

Algolia. Search API servers and their storage stack.

Organisation
Algolia
Evidence
Incident report
Source
When Solid State Drives are not that solid

Algolia blog, published 2023-03-02 (The date the page prints. The page's updates are dated June 16 to July 17 with no year, and the incident itself has no stated year.)

Records

Failure#f1

Blocks holding live data were zeroed when the system issued TRIM; Algolia saw it on a subset of its SSD models

Decision#d1

Disable TRIM on every server once the lost data was seen to be exactly one zeroed block

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.