Details
-
Sub-task
-
Status: Closed
-
Critical
-
Resolution: Won't Fix
-
1.3.0, 1.3.1
-
None
-
None
Description
FLINK-9377 proposes to remove writing serializers as part of checkpoint meta info, and only write its configuration snapshot.
Since then serializer config snapshots will be the single source of truth for previous serializer schema, this JIRA proposes to follow up the change in FLINK-9377 by having a base default implementation for letting TypeSerializer.snapshotConfiguration that returns a DefaultTypeSerializerConfigSnapshot.
The DefaultTypeSerializerConfigSnapshot should wrap the serialVersionUID of the serializer class, and the serializer class' classname. The latter two will be used to check compatibility in the default implementation of TypeSerializer.ensureCompatibility. Specifically, if classname / serialVersionUID has changed, the default implementation of TypeSerializer.ensureCompatibility should return CompatibilityResult.requiresMigration.