Skip to content

clickhouse: fix updates and event ordering - #966

Draft
jmqd wants to merge 23 commits into
mainfrom
jm/clickhouse-primary-key-updates
Draft

clickhouse: fix updates and event ordering#966
jmqd wants to merge 23 commits into
mainfrom
jm/clickhouse-primary-key-updates

Conversation

@jmqd

@jmqd jmqd commented Aug 8, 2026

Copy link
Copy Markdown
Contributor
  • Handle primary key changes by writing a deletion record for the old key before writing the updated row.
  • Reject replica identity configurations that cannot provide the old primary key.
  • Store transaction ordinals for MergeTree rows so events from the same transaction stay correctly ordered.

@coveralls

coveralls commented Aug 8, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 77.455% (+0.1%) from 77.339% — jm/clickhouse-primary-key-updates into main

@jmqd jmqd changed the title Fix ClickHouse updates and event ordering clickhouse: fix updates and event ordering Aug 31, 2026
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.

2 participants