The GitHub Actions job "Docs 404 check (beta)" on 
flink.git/FLINK-37732-pr3b-list-map-arming has succeeded.
Run started by GitHub user weiqingy (triggered by weiqingy).

Head commit for run:
eda06c0480a5874f1261733d48fc467cd4965ded / weiqingy <[email protected]>
[FLINK-40932][state] Arm RowData state schema evolution for list state elements 
and map state values

Extend the arming seam by exactly one structural level: a list state's
element serializer and a map state's value serializer, never a map key.
This matches what the RocksDB list and map states unwrap before they call
migrate, so a serializer is still armed only where migrate is invoked on
it.

Arming is decided by state kind rather than serializer shape. RocksDB
migrates value, reducing and aggregating states through the top-level
serializer, so a ValueState<List<RowData>> must not have its element
armed even though its type information matches a ListState<RowData>.
The arming factory therefore takes the descriptor's StateDescriptor.Type,
and those kinds keep arming the top-level serializer only.

Descending into list and map serializers removes the structural reason
operator and broadcast state could never hold an armed serializer. A
state descriptor caches its serializer per instance, so one registered as
keyed state first would carry the armed serializer into a backend that
accepts compatibleAfterMigration and never migrates. The operator state
backend now rejects an armed serializer, using an isArmed check that
performs the same one-level descent as arming.

Generated-by: Claude Code (Opus 5)

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

With regards,
GitHub Actions via GitBox

Reply via email to