Skip to content

Docs: fix the Packed part storage contract in the knowledge base - #112893

Merged
alexey-milovidov merged 3 commits into
masterfrom
docs-packed-storage-contract-kb
Aug 1, 2026
Merged

alexey-milovidov merged 3 commits into
masterfrom
docs-packed-storage-contract-kb

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Aug 1, 2026 •

Copy link
Copy Markdown
Member

Three published English pages described Packed part storage differently.

The knowledge-base page understanding-part-types-and-storage-formats.mdx and the #108118 entry in CHANGELOG.md both claimed that Packed storage bundles all part files into a single archive. DataPartStorageOnDiskPacked archives all part files except projections and the files listed in files_written_separately (txn_version.txt, delete-on-destroy.txt, invalidated_system_columns.txt), which are written separately because they can be created or rewritten after the part itself has been written.

This aligns both with the part_storage_type description in docs/reference/system-tables/parts.mdx that landed in #110606, so every published English page now states the same contract:

  • docs/resources/support-center/knowledge-base/data-management/understanding-part-types-and-storage-formats.mdx — the format table and the Packed storage section.
  • CHANGELOG.md — the #108118 entry. docs/resources/changelogs/oss/2026.mdx is generated from it by docs/_site/scripts/update_changelogs.py; the regenerated page is included and is byte-identical to running the generator, hence the pr-autogenerated-docs label required by the autogenerated-region guard.

Follow-up to the last unresolved review comment on #110606, which was merged before that comment was addressed.

Related: #110606
Related: #108118

Documentation entry for user-facing changes

...

Changelog category (leave one):

  • Documentation (changelog entry is not required)

Version info

  • Merged into: 26.8.1.586 (included in 26.8 and later)

The knowledge-base page `understanding-part-types-and-storage-formats.mdx` still
claimed that `Packed` storage bundles *all* part files into a single archive.
`DataPartStorageOnDiskPacked` archives all part files *except* projections and the
files listed in `files_written_separately` (`txn_version.txt`,
`delete-on-destroy.txt`, `invalidated_system_columns.txt`), which are written
separately because they can be created or rewritten after the part is written.

This makes the page consistent with the `part_storage_type` description in
`docs/reference/system-tables/parts.mdx` that landed in #110606.

Related: #110606
@clickhouse-gh

clickhouse-gh Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [c494cce]

Summary: ✅


AI Review

Summary

This PR corrects the user-facing description of Packed part storage in the knowledge-base page and keeps the generated 2026 changelog page aligned with its source entry in CHANGELOG.md. I verified the updated wording against DataPartStorageOnDiskPacked and the existing part_storage_type documentation, and the current diff now consistently describes the real contract: most part files live in data.packed, while projections and a few service files remain separate. I did not find any remaining blockers or major issues in the current PR head.

Final Verdict

✅ No new findings.

@clickhouse-gh clickhouse-gh Bot added the pr-documentation Documentation PRs for the specific code PR label Aug 1, 2026
@mintlify

mintlify Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
ClickHouse-docs 🟢 Ready View Preview Aug 1, 2026, 11:19 AM

The `#108118` changelog entry in `docs/resources/changelogs/oss/2026.mdx` also said
packed part storage stores *all* of a part's files in a single `data.packed`
archive. Aligned it with the corrected wording so every published English page
describes the same contract.
Comment thread docs/resources/changelogs/oss/2026.mdx Resolved
`docs/resources/changelogs/oss/2026.mdx` is generated from the repository-root
`CHANGELOG.md` by `docs/_site/scripts/update_changelogs.py`, and its column list
lives inside an `AUTOGENERATED` region, so `Check changelogs` and the
autogenerated-region guard both rejected the direct edit.

Apply the same wording fix to `CHANGELOG.md` (the source of truth); the
regenerated `2026.mdx` is byte-identical to the previous commit's hand edit,
verified by running the generator. The intentional generated-docs update carries
the `pr-autogenerated-docs` label, as the guard requires.
@alexey-milovidov alexey-milovidov added the pr-autogenerated-docs PR that regenerates docs artifacts from source; exempt from the autogenerated-region edit guard label Aug 1, 2026
@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 Status at head c494cce0379: CI fully green (aggregate PR = SUCCESS, Docs check (Mintlify) = SUCCESS, Style check = SUCCESS; only the internal CH Inc sync gate is still pending, which is not a failure). AI Review Final Verdict: ✅ No new findings. No unresolved review threads.

Two review rounds were addressed:

  1. docs/resources/changelogs/oss/2026.mdx also carried the stale Packed wording — fixed.
  2. That page turned out to be generated from the repository-root CHANGELOG.md by docs/_site/scripts/update_changelogs.py, and its content sits inside an AUTOGENERATED region, so Check changelogs and check_autogenerated_regions.py rejected the direct edit. Fixed by applying the wording change to CHANGELOG.md (the source of truth) and adding the pr-autogenerated-docs label that the guard requires; I ran the generator locally and confirmed the regenerated 2026.mdx is byte-identical to what is committed.

Swept the published English tree for any remaining Packed-means-all-files wording — none left. The localized trees (docs/ar, docs/es, …) still carry the old phrasing, but those are static translations of the English source and are explicitly excluded by the autogenerated-region check, so they are out of scope here.

@alexey-milovidov alexey-milovidov left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.

@alexey-milovidov alexey-milovidov self-assigned this Aug 1, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Aug 1, 2026
Merged via the queue into master with commit 2b06e22 Aug 1, 2026
179 checks passed
@alexey-milovidov
alexey-milovidov deleted the docs-packed-storage-contract-kb branch August 1, 2026 14:07
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-autogenerated-docs PR that regenerates docs artifacts from source; exempt from the autogenerated-region edit guard pr-documentation Documentation PRs for the specific code PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants