You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/10/29 13:09:00 UTC

[jira] [Updated] (FLINK-36622) Remove the dependency of StateBenchmark on RocksDBKeyedStateBackend APIs.

     [ https://issues.apache.org/jira/browse/FLINK-36622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated FLINK-36622:
-----------------------------------
    Labels: pull-request-available  (was: )

> Remove the dependency of StateBenchmark on RocksDBKeyedStateBackend APIs.
> -------------------------------------------------------------------------
>
>                 Key: FLINK-36622
>                 URL: https://issues.apache.org/jira/browse/FLINK-36622
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / State Backends
>    Affects Versions: 2.0-preview
>            Reporter: Han Yin
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>
> Currently, flink-benchmarks relies on non-public APIs in Flink. For example, in {_}+StateBackendBenchmarkUtils.java+{_}, the function _+compactState+_ takes RocksDBKeyedStateBackend as its first argument.
> This requires explicit type conversion in flink-benchmark(from +_KeyedStateBackend_+ to {+}_RocksDBKeyedStateBackend_{+}). Moreover, this means that once the signature of +_RocksDBKeyedStateBackend_+ changes, we need to modify flink-benchmark correspondingly.
> Therefore, we should avoid exposing non-public APIs in {_}+StateBackendBenchmarkUtils+{_}.



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