[
https://issues.apache.org/jira/browse/FLINK-28010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17563546#comment-17563546
]
Yun Tang commented on FLINK-28010:
----------------------------------
[~Ming Li] Since we do not have a special separator between the primary key and
user key, we need to use the next byte array to represent the prefix bytes. If
so, I think we can make this.
> 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.10#820010)