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

    https://github.com/apache/flink/pull/5950#discussion_r185775633
  
    --- Diff: 
flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBKeyedStateBackend.java
 ---
    @@ -589,7 +589,7 @@ private void restoreKeyGroupsInStateHandle()
                private void restoreKVStateMetaData() throws IOException, 
StateMigrationException, RocksDBException {
     
                        KeyedBackendSerializationProxy<K> serializationProxy =
    -                           new 
KeyedBackendSerializationProxy<>(rocksDBKeyedStateBackend.userCodeClassLoader);
    +                           new 
KeyedBackendSerializationProxy<>(rocksDBKeyedStateBackend.userCodeClassLoader, 
false);
    --- End diff --
    
    Maybe a small comment on this line why we can tolerate the absence of the 
serializer is helpful for future maintenance. And a matching comment for the 
other option on the corresponding line in the heap backend.


---

Reply via email to