JNSimba opened a new pull request, #68616:
URL: https://github.com/apache/doris/pull/68616
### What problem does this PR solve?
Issue Number: N/A
Related PR: N/A
Problem Summary:
- Add schema_change_behavior for MySQL, PostgreSQL, and OceanBase CDC
streaming jobs. The default evolve mode applies ADD/DROP COLUMN and pauses on
unsupported column changes. RESUME confirms acceptance for one recovery round
after checking target column names. Ignore mode updates the source schema
baseline without target column DDL.
- Allow ALTER JOB to update snapshot_parallelism and snapshot_split_size,
validating the effective MySQL server_id range.
- Add focused recovery, excluded-column, non-column DDL, and ALTER coverage.
### Release note
CDC streaming jobs support schema_change_behavior=evolve|ignore. Unsupported
column DDL pauses in evolve mode; RESUME confirms acceptance for one recovery
round. ALTER JOB can update snapshot_parallelism and snapshot_split_size for
future dispatch and newly generated splits.
### Check List (For Author)
- Test
- [x] Regression test: 15 focused suites passed on the pre-rebase base.
- [x] Unit Test: FE 66/66, CDC Client 46/46, PostgreSQL integration 4/4
on the pre-rebase base.
- [x] Manual test: deployed FE and CDC Client and confirmed FE/BE health.
- [ ] Latest-base FE unit tests: blocked before execution by local
Thrift compiler 0.16.0 versus required libthrift 0.24.0. FE Checkstyle passed
after rebase; CI will verify the latest base.
- Behavior changed:
- [x] Yes. CDC schema-change handling and ALTER JOB snapshot settings
are user-visible.
- Does this need documentation?
- [x] Yes. Document the new property and ALTER semantics in the
streaming-job guide.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]