[
https://issues.apache.org/jira/browse/FLINK-32761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Khachatryan closed FLINK-32761.
-------------------------------------
Fix Version/s: 1.19.0
Resolution: Fixed
Merged as 5f9de3eda3eed74472651aaecd2b3882fe76b61f.
> Use UUID based on PhysicalStateHandleID as SharedStateRegistryKey
> ChangelogStateHandleStreamImpl
> ------------------------------------------------------------------------------------------------
>
> Key: FLINK-32761
> URL: https://issues.apache.org/jira/browse/FLINK-32761
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / State Backends
> Reporter: Feifan Wang
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.19.0
>
>
> _ChangelogStateHandleStreamImpl#getKey()_ use
> _System.identityHashCode(stateHandle)_ as _SharedStateRegistryKey_ while
> stateHandle is not _FileStateHandle_ or {_}ByteStreamStateHandle{_}. That can
> easily lead to collision, although from the current code path, it only
> affects the test code.
> In FLINK-29913 , we use UUID based on PhysicalStateHandleID as
> SharedStateRegistryKey in IncrementalRemoteKeyedStateHandle, we can reuse
> this method in ChangelogStateHandleStreamImpl.
>
> WDYT [~roman] ?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)