Github user StefanRRichter commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4963#discussion_r159388540
  
    --- Diff: 
flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBListState.java
 ---
    @@ -158,4 +158,28 @@ public void mergeNamespaces(N target, Collection<N> 
sources) throws Exception {
                        throw new Exception("Error while merging state in 
RocksDB", e);
                }
        }
    +
    +   @Override
    +   public void update(List<V> values) throws Exception {
    +           clear();
    +
    +           if (values != null && !values.isEmpty()) {
    --- End diff --
    
    Is it expected behaviour that adding an empty list will not result in an 
entry? Maybe that is correct, but we should double check.


---

Reply via email to