{
  "slug": "metadedup",
  "term": "Metadedup",
  "aliases": [
    "metadata deduplication via indirection"
  ],
  "definition": "Metadedup groups chunk references and keys into encrypted metadata chunks that can themselves be deduplicated.",
  "note": "Mechanism: Variable-size segments group adjacent encrypted data chunks. Their metadata is encrypted with a content-derived key and deduplicated; file and key recipes reference that extra layer. The owner encrypts the key recipe with a master key. Restore retrieves metadata before data. [paper]\n\nDenominator: The 2019 FSL result at a 1 MB segment target is 97.46% metadata saving excluding the fingerprint index. Including the index, the published totals imply about 97.09%. Neither percentage measures total repository savings including data payload. The eight-row recalculation preserves the table's rounded inputs. [paper] [ledger]\n\nSecurity: The paper assumes an honest-but-curious adversary and excludes access-pattern leakage. Its historical-MLE guessing-cost argument assumes independent chunk choices; it is not a universal guarantee for predictable backup sequences. The original prototype assumes secure transport but does not implement TLS. [paper] [prototype]\n\nCompression: For FSL + PC in Table III, (10.767 - 9.949) / 10.767 gives about 7.597% less remaining metadata including the index and decoding mapping. The printed saving rates differ by 0.22 percentage point, a different denominator and scope. Neither measures whole-repository savings. [compression]\n\nComponent totals: The VM + PC components sum to 26.743 GB, while Table III prints 26.730 GB. The 0.013 GB gap exceeds the 0.003 GB conservative nearest-rounding bound. The rounded table does not establish which value is intended. [compression]",
  "related": [
    "deduplication",
    "convergent-encryption",
    "content-defined-chunking"
  ],
  "citations": [
    {
      "id": "paper",
      "title": "Li, Lee, Ren and Zhang. Metadedup: Deduplicating Metadata in Encrypted Deduplication via Indirection. MSST 2019, sections IV-VI and Table II.",
      "url": "https://msstconference.org/MSST-history/2019/Research/Metadedup.pdf",
      "accessed": "2026-11-22"
    },
    {
      "id": "prototype",
      "title": "Metadedup 2019 prototype README, pinned 361e957: transport assumption and dependencies.",
      "url": "https://github.com/tinoryj/MetaDedup/blob/361e957e2dad23294670a203ca0b2d58af57b88b/README.md",
      "accessed": "2026-11-22"
    },
    {
      "id": "ledger",
      "title": "Hesela. Metadedup Table II: explicit denominators and rounding-compatible arithmetic.",
      "url": "https://hesela.dev/research/metadedup/RESULTS.md",
      "accessed": "2026-11-22"
    },
    {
      "id": "data",
      "title": "Transcribed Table II inputs and primary-source provenance.",
      "url": "https://hesela.dev/research/metadedup/table2.json",
      "accessed": "2026-11-22"
    },
    {
      "id": "results",
      "title": "Recomputed results, rounding envelopes and input SHA-256.",
      "url": "https://hesela.dev/research/metadedup/results.json",
      "accessed": "2026-11-22"
    },
    {
      "id": "model",
      "title": "Standalone standard-library Python arithmetic and verifier.",
      "url": "https://hesela.dev/research/metadedup/model.py",
      "accessed": "2026-11-22"
    },
    {
      "id": "tests",
      "title": "Standalone regression and falsified-output tests.",
      "url": "https://hesela.dev/research/metadedup/test_model.py",
      "accessed": "2026-11-22"
    },
    {
      "id": "extension",
      "title": "Later Metadedup repository README, pinned dd1d5d4: distributed key-management extension.",
      "url": "https://github.com/jingwei87/metadedup/blob/dd1d5d4b538e3dc4b6c14ea06f4c563547f6aa64/README.md",
      "accessed": "2026-11-22"
    },
    {
      "id": "compression",
      "title": "Hesela. Table III audit: decoder costs, inconsistent totals and marginal-savings denominators.",
      "url": "https://hesela.dev/research/metadedup/COMPRESSION.md",
      "accessed": "2026-11-23"
    },
    {
      "id": "compression-data",
      "title": "Table III numerical inputs with source and visual-review provenance.",
      "url": "https://hesela.dev/research/metadedup/table3.json",
      "accessed": "2026-11-23"
    },
    {
      "id": "compression-results",
      "title": "Six component checks and four marginal comparisons, including rounding envelopes.",
      "url": "https://hesela.dev/research/metadedup/compression-results.json",
      "accessed": "2026-11-23"
    },
    {
      "id": "compression-code",
      "title": "Standalone Table III arithmetic audit and report generator.",
      "url": "https://hesela.dev/research/metadedup/compression.py",
      "accessed": "2026-11-23"
    },
    {
      "id": "compression-tests",
      "title": "Independent fraction checks and negative controls for the Table III audit.",
      "url": "https://hesela.dev/research/metadedup/test_compression.py",
      "accessed": "2026-11-23"
    }
  ],
  "status": "research",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-23",
  "provenance": [
    "Full 2019 paper reviewed, including Algorithms 1-2, security assumptions and Table II. Arithmetic from rounded published cells is not a rerun of the backup traces or a prototype benchmark. [paper] [ledger]",
    "The later repository adds distributed key management and reports a different evaluation; its figures are not substituted for the 2019 table. [extension]",
    "Download the five linked files together. Run python3 model.py --check and python3 -m unittest test_model.py. No third-party packages are required.",
    "Table III companion audit: download table3.json, compression.py, test_compression.py, compression-results.json and COMPRESSION.md together. Run python3 compression.py --check and python3 -m unittest test_compression.py. The Table II downloads remain unchanged. [compression]",
    "The Table III audit retains the source total and the sum of its components separately. The intended experimental total remains unresolved. [compression]"
  ]
}
