[
https://issues.apache.org/jira/browse/FLINK-28010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17558975#comment-17558975
]
Yanfei Lei commented on FLINK-28010:
------------------------------------
I think this is an interesting idea. There is a bit of difference between
FLINK-21321 and {{clear()}} method in {{{}RocksDBMapState{}}}. For
{{{}clear{}}}() method, the keys we want to delete are all under a big {*}map
key{*}. BTW, the KeyGroupRange is a bounded interval [], while deleteRange is
a left-bounded interval [), we should be careful with the intervals.
> Use deleteRange to optimize the clear operation of RocksDBMapState.
> -------------------------------------------------------------------
>
> Key: FLINK-28010
> URL: https://issues.apache.org/jira/browse/FLINK-28010
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / State Backends
> Reporter: ming li
> Priority: Major
>
> [FLINK-21321|https://issues.apache.org/jira/browse/FLINK-21321] has
> introduced {{deleteRange}} for fast clipping of Incremental checkpoint, so
> can the {{clear}} method in {{RocksDBMapState}} be replaced with
> {{{}deleteRange{}}}?
--
This message was sent by Atlassian Jira
(v8.20.7#820007)