DanielLeens commented on PR #10502: URL: https://github.com/apache/seatunnel/pull/10502#issuecomment-7238227006
Sorry for missing this in my previous review. My earlier no-source-blocker conclusion was too broad; this is a correction of that same-head conclusion, not a newly introduced regression. Thanks, @SEZ9, for tracing the remaining ownership paths. I independently checked the concrete Spark cleanup points. +1 to your existing worker/driver ownership findings: DirtyDataAwareSinkWriter.abortPrepare:195-197 only forwards to the delegate, whereas collector.close is reached through close:200-217. Spark 3.3 SeaTunnelSparkDataWriter.abort:108-118 does not close that writer and close:125 is empty; commit:95 is the success-only close. Both Spark starter SinkExecuteProcessor paths initialize the driver collector and call save(), with cleanup only in a RuntimeException|Error catch and no success finally. That is an incomplete lifetime for a valid custom collector owning resources, independent of whether the standard log collector opens a connection. The dedicated wrapper/starter ownership boundary needs an idempotent cleanup path and failure/success regression observations; a payload-logging tweak would not repair it. I also confirmed LogDirtyRecordCollector:181-183 includes errorMessage/exception text independently of summarizeRecord. The payload/mask setting must not be presented as sanitizing arbitrary validator diagnostics. I am not duplicating your finding numbers or claiming every other proposed point is independently closed here. The earlier fixture-admission and positional-mask repairs remain valid, but this PR must not be treated as source-cleared while these existing peer ownership/privacy concerns await resolution. CI is independently failed: I read wrapper429/bootstrap failures, the Windows MongoDB 49ms-vs-50ms assertion, and a Kubernetes quota-cleanup timeout. These are distinct signals, not a single generic Build failure. No local runtime was executed. Please repair the existing source concerns coherently and obtain checks on the resulting head; no unrelated dependency workaround is requested. Discussion/gate follow-up at unchanged head `e1b0b193312646fef1029f38c728e5f3c3edea25`; base `dev`, compare `diverged`, ahead 2 / behind 21. No local build, tests, Docker or SeaTunnel job was run. -- 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]
