Sampling design
A sampling design specifies the possible samples from a population and the probability with which each sample is selected.
For storage verification, define the object version, sampling unit and selection rule: uniformly choosing C distinct blocks is different from choosing one contiguous C-block window with a random start. Uniform inclusion probability for each block alone does not make every size-C subset equally likely. [3]
With N fixed blocks and M fixed damaged positions, a uniform size-C subset has hit probability 1 - choose(N-M,C)/choose(N,C). This uses a hypergeometric model and does not require independent damage locations. Replacing the sampled set changes the design; sorting that same set changes only order under an unchanged object and completed verification. [1] [2] [3]
Hesela's cyclic example compares 460 checked blocks out of 10,000 with one constructed 100-block damaged run: uniform subsets detect it with about 99.12% probability, while one random-start window gives 5.59%. Both have expected damaged-block count 4.6. This is a counting example with perfect recognition, not measured HDD behavior or a scrub recommendation. [3]
Reservoir merging has the same distinction: pooling two independent size-2 reservoirs from equal four-event populations gives each event inclusion probability 1/4, yet a same-server pair has probability 1/36 and a cross-server pair 1/24 instead of the uniform 1/28. Unequal 2/6 populations also bias the request-weighted mean. Exact constructed examples and a count-aware reference require disjoint populations and sufficient retained capacity. [4]
Equal chunk-audit hit probabilities can hide different incomplete-file counts: file-to-chunk dependencies determine restore impact. [5]
Relations
- related
- Data scrubbing, Provable data possession, Staggered scrubbing, Backup verification, Design effect, Content-based sampling (deduplication)
Citations
- NIST Dataplot Reference Manual: HYPCDF, finite-population sampling without replacement.
- Ateniese et al. Provable Data Possession at Untrusted Stores. CCS 2007, section 5.1.
- Hesela: sampling-design counterexample, derivation and enumerated tests.
- Hesela: exact reservoir merging examples, counting derivation, source map and replayable tests.
- Hesela: exact synthetic chunk-audit and restore-impact examples, code, native probe and source provenance.