Skip to content

docs: clarify unreadable metadata and retired-engine cleanup (v1.2.953) - #3581

Open
sundy-li wants to merge 2 commits into
mainfrom
docs/pr-20634-20663-20797-metadata-compatibility
Open

sundy-li wants to merge 2 commits into
mainfrom
docs/pr-20634-20663-20797-metadata-compatibility

Conversation

@sundy-li

@sundy-li sundy-li commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Current scope after user-value review

Keep missing-table listing diagnosis and conservative cleanup warning. Replace detailed engine/log-location decision matrix with concise actionable behavior.

This AI-assisted revision removes implementation detail from the proposed documentation. The earlier summary below is historical where it describes removed material. The current diff is authoritative.

  • Preserved all examples from the published base pages; translated only the edited EN/CN pairs.
  • Both full site builds and rendered-page/static checks passed for this revision. No runtime SQL, storage, security, Rust tests or benchmarks were run.
  • New head: 1b1c0472cf7eb0d95af2f7a0f3839c9f9ec494f9. Remote CI and source-author review must be verified on this head; previous green checks are not reused. No repeated review reminder was sent.
  • A responsible human has read the current documentation changes.

Summary

Document databendlabs/databend#20634, databendlabs/databend#20663 and databendlabs/databend#20797 together as one metadata-compatibility update, v1.2.953. Four EN/CN page pairs; no new commands or SQL examples.

  • Canonical SHOW TABLES note distinguishes bulk listing from explicit table access. In the default catalog, missing/undecodable metadata and initialization failures can omit a table without hiding healthy neighbors. Omission does not delete or repair anything or prove that a table was dropped. Explicit access can still fail; this is not a blanket promise to ignore catalog/RPC failures.
  • system.tables links to that explanation rather than promising an exhaustive list regardless of compatibility.
  • Canonical VACUUM DROPPED OBJECTS gives three bounded cases: skip undecodable metadata and preserve its dropped database; reclaim only metadata for recognized retired read-only external engines (currently DELTA), leaving external data files alone; retain arbitrary unknown/uninitializable non-FUSE engines and their dropped databases.
  • Distinguish Meta warning logs, Query informational logs and query warnings. Completion is not proof that every object was reclaimed; retention/protection rules and other failures still apply. No manual metadata/data deletion advice.
  • VACUUM ALL links to those dropped-object rules. Its existing failure propagation and no-rollback statement stays unchanged.
  • The existing administration alias still imports the canonical dropped-object doc; no duplicate body or moved URLs. Preserve every prior fenced example/output byte and the historical SHOW TABLES v1.2.415 view-exclusion note. Add the missing CN examples anchor used by its existing local link.

Release evidence

Each actual merge commit is absent from v1.2.952-nightly and contained in v1.2.953-nightly, checked with git merge-base --is-ancestor in the read-only source checkout:

Source PR Merge commit First containing published tag
#20634 e82fcf2eb81fc0a891769a226a5bc650c8050e7e v1.2.953-nightly
#20663 3664930042c763f3495802eb25f6c097471811a3 v1.2.953-nightly
#20797 c2c4f7588182ca9fc07a4bd6a2c7cb371f211005 v1.2.953-nightly

Validation

  • npm run build:en and npm run build:cn.
  • Eight MDX files compile; four matching EN/CN paths and v1.2.953 components. Only these pages translated; no sync exclusion applies.
  • All original fenced SQL/output bytes unchanged; existing administration alias wrapper unchanged. No new bare details/UI/URL moves.
  • CRLF-aware git diff --check, retaining trailing-whitespace checks without normalizing existing examples.
  • Introduction and current source/fixture inspection: per-item Meta protobuf decode failures versus other read errors; default-database initialization filtering versus explicit access; GC's has_undecodable_table database-retention guard; exact retired-engine whitelist and metadata-only external-file preservation; unknown-engine warnings and retained objects. Regression fixtures were read, not executed.
  • Ten final rendered pages, including both canonical and administration-alias dropped-object pages: correct versions, unique localized anchors, compatibility decision tables, canonical/alias content and reciprocal links.
  • Four automation inventory unit tests pass. These exercise scanner persistence/calendar/API-failure handling, not database behavior.
  • Build output has existing Sass deprecation warnings. A preflight corrected the canonical back-link's relative path before both final builds; the CN existing examples link now has its intended anchor.
  • No live SQL, Meta Service, Query Service, mixed-version upgrade/downgrade, VACUUM/storage deletion, recovery/failure-injection, RPC, Rust, security, memory or performance test was run. Source/static/build checks are not runtime compatibility or safe-deletion proof.

Review

@SkyFan2002, please review the GC retention and retired-engine boundaries as source author of #20634/#20797. @TCeason, please review the listing-versus-explicit-access contract as source author of #20663. Assignment and review requests are not approval or a human read-through attestation.

AI assistance

  • AI usage: An AI coding agent inspected source/static fixtures and tag ancestry, edited the scoped EN/CN pages, and ran the documentation/static checks listed above.
  • Responsible human: @sundy-li (PR account and task owner).
  • The responsible human has read every line of this diff and can explain each change.

@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 3, 2026 10:35am UTC
docs-cn Ready Ready Preview Nov 3, 2026 10:35am UTC

Request Review

| LIKE | 使用区分大小写的模式匹配按名称过滤结果。 |
| WHERE | 使用 WHERE 子句中的表达式过滤结果。 |

<a id="examples"></a>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

will be display a example??

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.

Yes—the existing examples still display in the “示例” section immediately below this line. The <a id="examples"></a> itself is an invisible link target: it keeps the existing FULL parameter link (#examples) working on the Chinese page. The published SHOW TABLES / SHOW FULL TABLES SQL and output examples remain unchanged. AI-assisted verification: I checked the built Chinese page for the target, link and examples; this was a rendered-HTML check, not SQL execution.

This branch was successfully deployed

2 active deployments
Preview – docs — 1b1c0472 Deployed Nov 3, 2026 by vercel[bot]
Preview – docs-cn — 1b1c0472 Deployed Nov 3, 2026 by vercel[bot]
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.

3 participants