You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Nico Kruber (Jira)" <ji...@apache.org> on 2022/03/24 14:38:00 UTC
[jira] [Created] (FLINK-26852) RocksDBMapState#clear not forwarding exceptions
Nico Kruber created FLINK-26852:
-----------------------------------
Summary: RocksDBMapState#clear not forwarding exceptions
Key: FLINK-26852
URL: https://issues.apache.org/jira/browse/FLINK-26852
Project: Flink
Issue Type: Bug
Components: Runtime / State Backends
Affects Versions: 1.14.4, 1.15.0
Reporter: Nico Kruber
I accidentally found an inconsistent behaviour in the RocksDB state backend implementation:
If there's an exception in {{AbstractRocksDBState#clear()}} it will forward that inside a {{FlinkRuntimeException}}.
However, if there's an exception in {{RocksDBMapState#clear}} it will merely print the exception stacktrace and continue as is.
I assume, forwarding the exception as {{FlinkRuntimeException}} should be the desired behaviour for both use cases...
--
This message was sent by Atlassian Jira
(v8.20.1#820001)