Skip to content

docs(iceberg): orphan sweep switch and what bounds the metadata directory (arc#835, arc#1106) - #105

Merged
xe-nvdk merged 1 commit into
mainfrom
docs/iceberg-metadata-growth-1106
Oct 7, 2026
Merged

xe-nvdk merged 1 commit into
mainfrom
docs/iceberg-metadata-growth-1106

Conversation

@xe-nvdk

@xe-nvdk xe-nvdk commented Oct 7, 2026

Copy link
Copy Markdown
Member

Documents two shipped Arc changes that the Iceberg page did not mention.

Configuration reference — adds iceberg.orphan_sweep_enabled (default true), from Arc #1107 (#835). Worth an entry rather than a footnote because it is the only thing the exporter deletes that nothing regenerates, which is why it has an off switch at all.

Limitations — a new entry for metadata growth, from Arc #1124 (#1106). The page previously said nothing about what the metadata directory does over time, and the honest answer is that it grows with the removal history rather than with the data, bounded by two automatic mechanisms:

  • the orphan sweep deletes manifests no retained metadata version references;
  • a pass that finds a table at 12 or more data manifests merges them into one.

It also records the one case neither covers: a table whose file set has stopped changing is skipped by the reconciler, so it keeps whatever manifest count it last had until something writes to it again. That is a real thing an operator can observe and otherwise could not explain.

Text-only; no code or examples changed.

Refs Basekick-Labs/arc#835, Basekick-Labs/arc#1106, Basekick-Labs/arc#1107, Basekick-Labs/arc#1124.

…tory (arc#835, arc#1106)

Adds iceberg.orphan_sweep_enabled to the configuration reference, and a
Limitations entry for metadata growth: a removal pass leaves superseded
manifests behind, the orphan sweep reclaims the unreferenced ones, and a
pass at 12 or more data manifests merges them into one. Also notes that a
table the reconciler skips keeps its manifest count until it is written
to again.
@xe-nvdk
xe-nvdk merged commit e8484e8 into main Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant