[
https://issues.apache.org/jira/browse/FLINK-37597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17940631#comment-17940631
]
Yanfei Lei commented on FLINK-37597:
------------------------------------
Merged 36eb336e4a623400a6bfdf1aab29723038e472a1 ...
076fa80e3147d2d19f2f54af6b85fd63038fb6a0 into master
> 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)