Skip to content

Turn system.replicated_partition_exports table into a history table by removing the TTL#1917

Open
arthurpassos wants to merge 3 commits into
antalya-26.3from
do_not_evict_entries_from_replicated_partition_exports_table
Open

Turn system.replicated_partition_exports table into a history table by removing the TTL#1917
arthurpassos wants to merge 3 commits into
antalya-26.3from
do_not_evict_entries_from_replicated_partition_exports_table

Conversation

@arthurpassos

@arthurpassos arthurpassos commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Changelog category (leave one):

  • Backward Incompatible Change

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

Turn system.replicated_partition_exports table into a history table by removing the TTL. CLoses #1281

Documentation entry for user-facing changes

...

CI/CD Options

Exclude tests:

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

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • 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)

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e8bf8f243d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

json.set("create_time", create_time);
json.set("max_retries", max_retries);
json.set("ttl_seconds", ttl_seconds);
json.set("task_timeout_seconds", task_timeout_seconds);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Preserve ttl_seconds in exported manifests

During a rolling upgrade, a newly upgraded replica will now create /exports/.../metadata.json without ttl_seconds, but any still-running pre-change replica deserializes every export manifest with json->getValue<size_t>("ttl_seconds") in ExportReplicatedMergeTreePartitionManifest::fromJsonString. That makes those replicas throw an exception while polling/scheduling/displaying/killing the export, so mixed-version clusters can leave newly created exports unprocessed or invisible until every replica is upgraded. Please keep writing a dummy ttl_seconds field for the compatibility window while ignoring it in the new code.

Useful? React with 👍 / 👎.

@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown

Workflow [PR], commit [483a02e]

@arthurpassos arthurpassos added antalya port-antalya PRs to be ported to all new Antalya releases antalya-26.3 labels Jun 16, 2026

@mkmkme mkmkme left a comment

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.

LGTM

@svb-alt svb-alt added the roadmap Key features and improvements for Antalya project label Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

antalya antalya-26.3 port-antalya PRs to be ported to all new Antalya releases roadmap Key features and improvements for Antalya project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ExportPartition - Implement a history table

3 participants