DanielLeens commented on PR #13238: URL: https://github.com/apache/seatunnel/pull/13238#issuecomment-7130266629
Thanks, @SEZ9 — I rechecked the unchanged head rather than carrying the older test description forward. - The normal boundary is still composite construction, after per-table preparation/save mode, not before all target side effects. The lower bound in MultiTableSinkFactory.java:49-55 does not establish earlier save-mode protection. The direct constructor guard is a separate invariant; retaining or removing that duplicate remains a maintainer design choice. - The actual factory regression is already present: MultiTableSinkWriterTest.testFactoryRejectsReplicaNumBelowOneWithValueInDiagnostics at 1258 calls createMultiTableSink, checks OptionValidationException as the cause, and checks the offending key/value. testFactoryPreservesReplicaTypeConversionFailure (1302), testFactoryPreservesUnrelatedConstructionFailure (1313), testFactoryAcceptsValidReplicaNum (1327), and the create/restore test (1335) provide the other boundary checks. These are not just constructor-only or always-true assertions. - The Integer.MAX_VALUE case at 1238 runs ConfigValidator only. It demonstrates the positive-int OptionRule range, not that allocating that many replicas is operationally acceptable. An upper production capacity claim would need separate evidence. - The test-only getSourceMap mutation remains at 1261/1304/1315. Building a mutable input map before ReadonlyConfig is cleaner; I agree with that focused follow-up and with aligning the retained guard's comment/Javadoc and PR description. CI is still failed: all-connectors6/JDK11 and JDBC4/JDK11 failed downloading the Maven wrapper (HTTP404/missing MavenWrapperMain); all-connectors2/JDK11 failed resolving mysql-connector-java8.0.16/hadoop-common3.3.4. These do not establish a regression in replica validation. Latest dev has no matching wrapper/MongoDB-POM change from this base, so I found no verified sync-based cure. Rerun those download/dependency lanes after the repository endpoint is available; no unrelated dependency patch is requested here. My source conclusion is unchanged. This is a discussion follow-up on unchanged head `69afe91531ba2aecdad508f952b77591fbbf52dd`, not a new full source review. I inspected the named local source paths; no local build, test or SeaTunnel runtime was executed. Daniel has READ permission; effective maintainer approval and historical review dismissal remain separate repository actions. -- 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]
