Erasure Coding and Storage Repair

Recover a known missing fragment from parity and compare the cost of reconstruction with the guarantee of a code.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Parity can solve for one unknown value
  2. More fragments change failure domains and repair traffic

Parity can solve for one unknown value

Store chunks \(a,b\) and parity \(a\oplus b\). If chunk \(b\) is unavailable and the others are known correct, XOR \(a\) with parity to reconstruct it. The location of missing data is known, so this is an erasure. When a present chunk could instead be wrong, one parity value need not identify which chunk to trust. Integrity checking can supply the erasure information under its own assumptions.

More fragments change failure domains and repair traffic

An erasure code may reconstruct data from any sufficiently large subset of fragments. The placement must account for correlated device or site outages. Repair can require reading many surviving fragments even when encoding overhead is smaller than full replication. Reed–Solomon distance gives an algebraic reconstruction guarantee. Replication acknowledgments concern when storage redundancy becomes part of a successful write.[1][2]

References

  1. David J. C. MacKay, Information Theory, Inference, and Learning Algorithms ↩
  2. John Watrous, The Theory of Quantum Information ↩