Maximally recoverable code
A maximally recoverable code corrects every erasure pattern that is recoverable by some coefficient assignment within its prescribed parity topology.
The guarantee is relative to the topology. Local equations cannot protect symbols outside their support. A code may be maximally recoverable without offering the any-k survivor guarantee of an MDS code. Choosing a suitable finite field and coefficients is a separate requirement from describing the groups.
For data-local codes with one local parity per group and h global parities, Gopalan and colleagues characterize recovery by removing one coordinate per local group and requiring the remaining code to be MDS. Their Lemma 4 rules out an erasure set E touching t local groups when |E| exceeds t+h. This is an erasure statement with known missing locations, not an unknown-error correction guarantee. [1]
Distance optimality concerns the worst erasure pattern, not every topology-allowed pattern. For a linear code with information locality r, d <= n-k-ceil(k/r)+2. Attaining this bound alone does not establish maximal recoverability. [3]
Two explicit GF(7) examples have n=8, k=4, information locality 2 and distance 4, but recover 57 and 60 of the 70 four-erasure sets. Only the second covers every topology-allowed set. These are fixed teaching codes, not device-failure probabilities. [4]
Relations
- related
- Locally repairable code, Erasure coding, Reed–Solomon codes (storage), Repair locality, Maximum distance separable code, Intra-disk redundancy, Repair-read amplification
Citations
- Gopalan et al. Explicit Maximally Recoverable Codes with Locality. IEEE TIT (2014), section II: Definition 3 and Lemma 4.
- Local repair is not whole-node repair: which four losses can be recovered?
- Gopalan et al. On the Locality of Codeword Symbols. Author manuscript (2011), Theorem 5.
- Hesela: LRC coefficient audit, explicit GF(7) matrices and exhaustive checks.
Sources & caveats
- The companion enumerates two fixed topologies under the MR assumption; it does not implement or certify their coefficient construction. [2]
- The GF(7) comparison enumerates all 256 erasure sets and all 2400 nonzero messages for each fixed code; it is not a reproduction of a paper's binary-field construction. [4]