adiranjan25 opened a new pull request, #19166: URL: https://github.com/apache/iceberg/pull/19166
<h3><span>Summary</span></h3><p><span>Backports #18823 to Flink 1.20 and 2.2, following the maintainer's request on the original PR.</span></p><p><span>Both versions contain the same JDBC lock table initialization race addressed in Flink 2.3.</span></p><h3><span>Changes</span></h3><ul><li><p><span>Backport the </span><code><span>createLockTableIfMissing</span></code><span> implementation.</span></p></li><li><p><span>Recheck table existence when concurrent table creation results in a </span><code><span>SQLException</span></code><span>.</span></p></li><li><p><span>Preserve genuine database failures when the lock table remains absent.</span></p></li><li><p><span>Backport both deterministic regression tests.</span></p></li><li><p><span>Enable JDBC-backed end-to-end validation of equality delete conversion with data file rewriting.</span></p></li><li><p><span>Wait for job cancellation to complete during integration test cleanup.</span></p></li></ul><p><span>The original production and test patches applied cleanly to both Flink versions without requiring version-specific adaptations.</span></p><h3><span>Testing</span></h3><p><span>Validated locally using Java 17:</span></p> Validation | Flink 1.20 | Flink 2.2 -- | -- | -- TestJdbcLockFactory | 9/9 passed | 9/9 passed Targeted TestIcebergSinkTableMaintenance | 2/2 passed | 2/2 passed Spotless | Passed | Passed Checkstyle Main | Passed | Passed Checkstyle Test | Passed | Passed <p><span>Total: 22 tests passed, with no failures, errors, or skipped tests.</span></p><p><span>The full Flink module test suites were not run locally.</span></p><h3><span>Related</span></h3><ul><li><p><span>Original fix: #18823</span></p></li><li><p><span>Original issue: #18797</span></p></li></ul><p><span>Thanks @pvary and @swapna267 for reviewing the original fix and providing guidance on the backports.</span></p> -- 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]
