[
https://issues.apache.org/jira/browse/FLINK-35784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17864457#comment-17864457
]
Rui Fan commented on FLINK-35784:
---------------------------------
[https://github.com/apache/flink/actions/runs/9857042336/job/27215771351#step:10:9380]
SnapshotFileMergingCompatibilityITCase.testSwitchFromEnablingToDisablingFileMerging:83->testSwitchingFileMerging:214->verifyCheckpointExist:288
Jul 09 13:24:47 expected: false
Jul 09 13:24:47 but was: true
SnapshotFileMergingCompatibilityITCase fails after this fix is merged in 1.20
branch. [~zakelly]
cc [~Weijie Guo]
> The cp file-merging directory not properly registered in SharedStateRegistry
> ----------------------------------------------------------------------------
>
> Key: FLINK-35784
> URL: https://issues.apache.org/jira/browse/FLINK-35784
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Checkpointing
> Affects Versions: 1.20.0
> Reporter: Zakelly Lan
> Assignee: Zakelly Lan
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.20.0
>
>
> The {{OperatorSubtaskState}} only make keyed state register with
> {{SharedStateRegistry}}. However, the file-merging directories's handle are
> wrapped in {{FileMergingOperatorStreamStateHandle}}, which is an
> {{OperatorStreamStateHandle}}. That means the {{#registerSharedStates}} is
> never called, so the registry will never delete the directories.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)