Home / Companies / Algolia / Blog / Post Details
Content Deep Dive

When Solid State Drives are not that solid

Blog post from Algolia

Post Details
Company
Date Published
Author
Adam Surak
Word Count
1,768
Language
English
Hacker News Points
-
Summary

A Linux kernel error caused a server issue in Algolia's search API, affecting some SSD drives. The problem was traced to the TRIM feature, which zeroes empty blocks on SSDs. Some of the affected drives misinterpreted the TRIM command and erased non-empty blocks, leading to file corruption. Disabling TRIM resolved the issue. Algolia advises caution when using any SSD mentioned negatively by the Linux kernel and highlights that even if TRIM is not explicitly enabled, it may still run in certain systems like Ubuntu 14.04.