Skip to content

branch-4.1: [fix](streaming-job) Isolate schemas for CDC snapshot splits #65645#65820

Merged
yiguolei merged 1 commit into
branch-4.1from
auto-pick-65645-branch-4.1
Jul 23, 2026
Merged

branch-4.1: [fix](streaming-job) Isolate schemas for CDC snapshot splits #65645#65820
yiguolei merged 1 commit into
branch-4.1from
auto-pick-65645-branch-4.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #65645

### What problem does this PR solve?
During snapshot backfill, a snapshot split carried schemas for every
captured table. A change record from another table could then be
evaluated with the current split key, causing an invalid-field failure
when the tables use different primary-key names.

This change limits each MySQL and PostgreSQL snapshot split to its own
table schema while retaining the reader-level schemas for the global
stream split. It also strengthens the multi-table concurrent-DML cases
by explicitly enabling snapshot backfill, using different primary-key
names, and keeping a source writer active across multiple successful
tasks.
@github-actions
github-actions Bot requested a review from yiguolei as a code owner July 20, 2026 09:36
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hello-stephen

Copy link
Copy Markdown
Contributor

run buildall

@JNSimba

JNSimba commented Jul 20, 2026

Copy link
Copy Markdown
Member

run cloud_p0

@yiguolei
yiguolei merged commit 1822613 into branch-4.1 Jul 23, 2026
29 of 33 checks passed
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