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)

Reply via email to