Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amtadt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
amtadt
2y ago
Because CRC is in the on-disk data structure, not in the in-ram data structure. It is stripped upon reading to ram, and created upon writing to disk. That's how bcachefs is designed right now.
2.
▲
by
amtadt
2y ago
Self healing is dangerous because it can potentially corrupt good data on disk, if RAM or other system component is flaky. Repro: supposedly only good copy is copied to ram, ram corrupts bit, crc is recalculated using corrupted but, corrupt