[ 
https://issues.apache.org/jira/browse/FLINK-29913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17633672#comment-17633672
 ] 

Roman Khachatryan commented on FLINK-29913:
-------------------------------------------

[~klion26] , we could use remote filename as well, but we still have to store 
the mapping from remote to local to initialize RocksDB on recovery.

UUID are slightly better IMO because they are usually shorter and therefore 
consume less space in the final _metadata file and as keys in 
SharedStateRegistry.

[~Yanfei Lei] , good question. In case of re-upload, the old state should be 
discarded eventually when the checkpoint it was created for is subsumed.

> Shared state would be discarded by mistake when maxConcurrentCheckpoint>1
> -------------------------------------------------------------------------
>
>                 Key: FLINK-29913
>                 URL: https://issues.apache.org/jira/browse/FLINK-29913
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Checkpointing
>    Affects Versions: 1.15.0, 1.16.0
>            Reporter: Yanfei Lei
>            Priority: Minor
>
> When maxConcurrentCheckpoint>1, the shared state of Incremental rocksdb state 
> backend would be discarded by registering the same name handle. See 
> [https://github.com/apache/flink/pull/21050#discussion_r1011061072]
> cc [~roman] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to