The GitHub Actions job "Flink CI (beta)" on flink.git/master has succeeded. Run started by GitHub user rmetzger (triggered by rmetzger).
Head commit for run: 2b978526a3921c7a16f804d81b7a452ccb5e2a57 / Natea Eshetu Beshada <[email protected]> [FLINK-32212][runtime] Match library BLOBs by content in BlobLibraryCacheManager (#27579) A PermanentBlobKey carries a random component on top of the content hash (FLINK-7140), so re-uploading an unchanged JAR yields a key that is unequal to the one a cached class loader was resolved with. When a JobManager fails over and resubmits the job, TaskExecutors that survived the failover still hold a class loader resolved with the old keys, so verifyClassLoader() throws The library registration references a different set of library BLOBs than previous registrations for this job: old:[p-<hash>-<random1>] new:[p-<hash>-<random2>] even though the JAR content is identical. Every subsequent deployment attempt hits the same mismatch, so the job restarts indefinitely. verifyClassLoader() now compares the content hashes of the required BLOBs instead of whole keys. Identical content therefore resolves to the cached class loader regardless of the random component, while a genuinely different set of JARs or class paths still fails as before. The comparison is over the set of distinct contents, so adding or dropping a duplicate of a JAR already in the required library set is also accepted - the resolved class loader can serve it either way. This makes the check symmetric. The previous size-then-containsAll comparison was not: it accepted a registration of [A, A] followed by [A], but rejected [A, A] followed by [A, A], even though both describe the same libraries. Comparing by content rather than re-creating the class loader keeps the existing contract check intact. A single ResolvedClassLoader is shared by all leases of a job, so replacing it on a mismatch would invalidate the class loader other leases already resolved, let old and new class loaders for the same job coexist, and orphan any release hooks registered against the replaced instance. Report URL: https://github.com/apache/flink/actions/runs/31779002643 With regards, GitHub Actions via GitBox
