Skip to content

Fix local replicated_partition_exports table might miss entries#1500

Open
arthurpassos wants to merge 1 commit intoantalya-26.1from
export_partition_fix_local_table_possibly_missing_not_pending_entries
Open

Fix local replicated_partition_exports table might miss entries#1500
arthurpassos wants to merge 1 commit intoantalya-26.1from
export_partition_fix_local_table_possibly_missing_not_pending_entries

Conversation

@arthurpassos
Copy link
Collaborator

Changelog category (leave one):

  • Improvement

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

The system.replicated_partition_exports table has two modes: remote and local. This is controlled by export_merge_tree_partition_system_table_prefer_remote_information. The idea is to avoid querying zookeeper whenever possible. The local mode relies purely on the in-memory list of tasks. This PR fixes a possibly rare issue when a task is created and set to a non pending state (e.g, killed or completed) before a given replica can fetch it. In that case, the entry would never exist locally and would not show up.

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)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • Tiered Storage (2h)

@arthurpassos
Copy link
Collaborator Author

Related to #1498

cc @Selfeer

@github-actions
Copy link

Workflow [PR], commit [43bc8bf]

@arthurpassos arthurpassos added port-antalya PRs to be ported to all new Antalya releases antalya-26.1 labels Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

antalya-26.1 port-antalya PRs to be ported to all new Antalya releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant