Skip to content

Antalya 26.6: Separate Antalya error codes from upstream allocations - #2477

Open
mkmkme wants to merge 2 commits into
antalya-26.6from
mkmkme/antalya-26.6/antalya-error-codes
Open

mkmkme wants to merge 2 commits into
antalya-26.6from
mkmkme/antalya-26.6/antalya-error-codes

Conversation

@mkmkme

@mkmkme mkmkme commented Oct 3, 2026

Copy link
Copy Markdown
Collaborator

Move Antalya-only errors to a separate append-only registry with wire codes 10001–10006. Preserve symbolic names and the existing exception packet layout; do not introduce legacy numeric aliases.

Store vendor counters compactly and include them in system.errors, system.error_log, and Prometheus metrics. Skip unnamed accounting slots in the error log to avoid attributing unknown errors to the sentinel.

Validate vendor IDs, names, upstream conflicts, and UInt16 bounds. Preserve the upstream values API and name-table construction to reduce forward-porting overhead.

Document the numeric migration and add lookup, accounting, log-column, and distributed-forwarding regression tests.

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Separate Antalya error codes from upstream ones to prevent any collisions in the future

Documentation entry for user-facing changes

...

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Unit tests
  • Performance tests
  • Aarch64 tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • CAS (content-addressed storage; Antalya only)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • OAuth (5m)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

Move Antalya-only errors to a separate append-only registry with wire
codes 10001–10006. Preserve symbolic names and the existing exception
packet layout; do not introduce legacy numeric aliases.

Store vendor counters compactly and include them in `system.errors`,
`system.error_log`, and Prometheus metrics. Skip unnamed accounting slots
in the error log to avoid attributing unknown errors to the sentinel.

Validate vendor IDs, names, upstream conflicts, and `UInt16` bounds.
Preserve the upstream `values` API and name-table construction to reduce
forward-porting overhead.

Document the numeric migration and add lookup, accounting, log-column,
and distributed-forwarding regression tests.
@github-actions

github-actions Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Workflow [PR], commit [ff06afc]

Skip only the shared out-of-range accounting slot in `system.error_log`,
rather than every unnamed slot. Upstream gaps retain their actual numeric
identities and must continue to be logged.

Add regression coverage for codes 779, 780, and 899, retain sentinel
suppression tests, and correct the accounting documentation.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant