The GitHub Actions job "Docs 404 check (beta)" on 
flink.git/FLINK-37732-pr3-rowdata-evolution has succeeded.
Run started by GitHub user weiqingy (triggered by weiqingy).

Head commit for run:
dafdbc2d323e0a45883e9f35760b95f948e38cb9 / weiqingy <[email protected]>
[FLINK-40298][runtime] Address review: reject a reused armed descriptor on 
backends without state schema evolution

A state descriptor keeps the serializer it is first initialized with.
Registered first on RocksDB with schema evolution on, a descriptor
keeps an armed serializer, and reusing the same instance on a keyed
backend without object-level value migration (heap, ForSt sync, or the
changelog backend) carries the arm over. Such a backend accepts
compatibleAfterMigration without running the row migration, so an
evolved schema would be accepted while restored values keep their old
layout.

Those backends now reject a descriptor whose serializer is already
armed, with a StateMigrationException asking for a separate descriptor
instance. AbstractKeyedStateBackend and ChangelogKeyedStateBackend both
check, since the latter creates states on the backend it wraps
directly. A descriptor first used on such a backend stays unarmed,
which fails closed.

Generated-by: GitHub Copilot CLI (Claude Opus 5.5)

Report URL: https://github.com/apache/flink/actions/runs/39314751874

With regards,
GitHub Actions via GitBox

Reply via email to