SEZ9 commented on PR #11206:
URL: https://github.com/apache/seatunnel/pull/11206#issuecomment-7204450958
Thanks for the continued work on this. Here is where the earlier review
points stand at head `34d388c9150d5bbf83591bbf1e3e3a930e342342`, which has not
changed since the follow-up discussion.
**Closed, per the follow-up discussion**
- Zeta registering a runtime `CreateTableEvent` when the job starts with a
single matched table (source startup schema promotion).
- The config-aware JDBC capability precheck for
`supportsNewlyCreatedTable()` with exactly-once or custom `query` sinks.
**Still open in code**
1. **Retry under the shared schema barrier.** In `MultiTableSinkWriter`,
runtime writer creation is still retried while the sibling queue workers are
parked at the barrier. One failing new table therefore holds up healthy tables
and checkpoint progress for the whole retry window. Please make retry and
admission table-local, so the retry delay is not spent under the shared barrier.
2. **DROP followed by re-CREATE.** The early return for an
already-registered path treats a second `CREATE TABLE` as a replay without
checking that the old and new schemas are equivalent. Please separate an
idempotent duplicate CREATE from a re-CREATE with changed columns, so
converters and the sink schema are refreshed in the second case.
3. **Unbounded runtime admission.** Runtime-created writers and their
checkpoint state still have no upper bound and no removal path. Please add a
limit and a retirement contract for runtime-admitted tables and writers.
**Still open in docs (EN and ZH)**
4. Describe how the runtime option relates to `schema-changes.enabled`, and
state that it overrides a user-supplied `debezium { include.schema.changes }`.
5. Document that `scan.binlog.newly-added-table.enabled` is rejected at
startup when `table-names` is configured, in both the option row and the "Newly
Added Tables" section.
6. State which engines support runtime table registration, since the wiring
is engine-specific.
It would be easiest to review if the code and doc changes land in the same
update. For items 1–3, please also say which tests cover the new behavior: a
failing new table not blocking the others, a changed-schema re-CREATE, and
hitting the admission limit. These points can only be confirmed as fixed once a
new commit is pushed.
<!-- streview-comment:2648 -->
--
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]