SEZ9 commented on PR #11932: URL: https://github.com/apache/seatunnel/pull/11932#issuecomment-7070031887
Thanks for carrying the recovery invariants through the latest sync. Based on the latest review pass, here is where the earlier points stand. **Reported as closed** - **Empty checkpoint table list:** a modern empty list no longer clears the schema, and the reader publishes only non-empty selected schemas. - **Diverging restored sink states:** divergent non-null schemas are now rejected rather than taking the first one, and legacy null-schema states are skipped. - **Null-Xid states after an `exactly_once` flip:** the XA writer retains real Xids only on restore. - **Schema in every non-exactly-once checkpoint:** the ordinary writer now emits schema state only after a successful evolution, which removes the every-checkpoint cost. **Still to confirm** 1. **Deserializer vs. collector restore:** the collector-side restore is described as sitting behind the enabled and resolver guards. Is the deserializer-side restore under the same conditions, so the two cannot diverge? 2. **Non-`Serializable` column payload:** once an evolution has happened and schema state is emitted, can such a payload still fail the checkpoint? 3. **Primary key on restore:** what happens when a restored `TableSchema` has no `PrimaryKey`? Does the writer still fall back to insert-only silently, or is that now guarded? 4. **Flink/Spark:** the restore is described for the Zeta collector only. Is `Collector.restoreSchema` still a no-op on the other engines? If so, please state that limitation explicitly in the Javadoc or the docs. 5. **Upgrade note:** I could not see a docs or upgrade note for the JDBC sink checkpoint state change (schema persisted in `JdbcSinkState`, state emitted by the non-exactly-once writer). Please add one, or point me to where it is. Short answers on 1–3 are enough. Items 4 and 5 are documentation only. <!-- streview-comment:2508 --> -- 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]
