WEAVER codes
WEAVER codes are XOR-based erasure codes that place data and parity on each device and constrain the number of data elements feeding each parity.
In WEAVER(n,k,t), n counts devices, k is parity in-degree and t is the intended device-failure tolerance, not the number of data shards. With r data and q parity elements per device, rt=qk and payload fraction is k/(k+t). The original k<=t families therefore use at most half the encoded space for payload. [1]
Fault tolerance depends on the actual weave and stripe size. For P_j = D_(j+2) XOR D_(j+3) XOR D_(j+4), with indices modulo n and D_j/P_j on device j, the published three-failure construction admits n=6 and n>=8, but not n=7. Degree counts alone are insufficient. [1]
Finite checks recover all 20 triple-erasure sets at n=6, only 28 of 35 at n=7, and all 56 at n=8. At n=7, erasing devices {0,1,3} hides a difference in exactly those three data bits from every surviving element. These are exhaustive pattern counts, not failure probabilities. Changing offsets to {3,4,6} recovers all 35 triples at n=7. [3]
Repair cost has separate units: the later GRID/WEAVER study distinguishes blocks read from devices accessed. Its combined code is not a standalone WEAVER layout; a low helper count alone does not establish low transferred bytes or repair time. [2]
Relations
Citations
- Hafner. WEAVER Codes: Highly Fault Tolerant Erasure Codes for Storage Systems. FAST 2005, sections 1.1, 2.1, 4; Table 1.
- Khan, Burns, Plank and Huang. In Search of I/O-Optimal Recovery from Disk Failures. HotStorage 2011, sections 3-4.
- Hesela: exhaustive finite WEAVER erasure-pattern results, assumptions and unrecoverable sets.
Further reading
- Hesela: standalone GF(2) rank checker; run with Node.js.
- Hesela: direct-XOR ambiguity oracle and negative controls.
- Hesela: reproduction steps and finite-model limitations.
Sources & caveats
- Source synthesis and finite algebraic verification, not a hardware benchmark, deployment recommendation or new fault-tolerance theorem.
- Erasure removes both elements on a device. Surviving elements must be correct, consistently versioned and assigned to the specified codeword.
- Two published offset patterns are tested only over n=5..12 and n=7..12 respectively, with zero through three device erasures. The general n>=8 range is a paper claim, not an unbounded computational proof.