Yu Li created FLINK-12066:
-----------------------------
Summary: Remove StateSerializerProvider field in keyed state
backend
Key: FLINK-12066
URL: https://issues.apache.org/jira/browse/FLINK-12066
Project: Flink
Issue Type: Improvement
Components: Runtime / State Backends
Reporter: Yu Li
Assignee: Yu Li
Fix For: 1.9.0
As mentioned in [PR review of
FLINK-10043|https://github.com/apache/flink/pull/7674#discussion_r257630962]
with Stefan and offline discussion with Gordon, after the refactoring work
serializer passed to {{RocksDBKeyedStateBackend}} constructor is a final one,
thus the {{StateSerializerProvider}} field is no longer needed.
For {{HeapKeyedStateBackend}}, the only thing stops us to pass a final
serializer is the circle dependency between the backend and
{{HeapRestoreOperation}}, and we aim to decouple them by introducing a new
{{HeapInternalKeyContext}} as the bridge. More details please refer to the
coming PR.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)