[ https://issues.apache.org/jira/browse/FLINK-37597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941434#comment-17941434 ]
Yanfei Lei edited comment on FLINK-37597 at 4/7/25 2:39 AM: ------------------------------------------------------------ Merged 4f71f44145b0ab7ab3cc23783cd4d5108efafb2e into release-2.0 was (Author: yanfei lei): Merged 912e611273a5cb8a29ee7e52b8b4e21a690f3733 into release-2.0 > Use ResourceGuard to make sure snapshot quit before ForSt disposal > ------------------------------------------------------------------ > > Key: FLINK-37597 > URL: https://issues.apache.org/jira/browse/FLINK-37597 > Project: Flink > Issue Type: Bug > Components: Runtime / State Backends > Affects Versions: 2.0.0 > Reporter: Zakelly Lan > Assignee: Yanfei Lei > Priority: Major > Labels: pull-request-available > Fix For: 2.1.0 > > > Currently, there might be a chance that the forst state backend dispose when > on-going snapshots are still in progress. This would be problematic since the > db will coredump when enabling file deletion while the db core is already > closed. This happens when the snapshot finishes after forst state backend > disposes. We should apply ResourceGuard to protect the disposal order of db > and snapshot, like RocksDB does. -- This message was sent by Atlassian Jira (v8.20.10#820010)