Zakelly Lan created FLINK-37597:
-----------------------------------

             Summary: Use ResourceGuard to make sure snapshot quit before ForSt 
dispose
                 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: Zakelly Lan
             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)

Reply via email to