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

    https://github.com/apache/flink/pull/5239#discussion_r170253088
  
    --- Diff: 
flink-contrib/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBKeyedStateBackend.java
 ---
    @@ -1629,9 +1630,9 @@ private void closeLocalRegistry() {
     
                private boolean isWithLocalRecovery(
                        CheckpointOptions.CheckpointType checkpointType,
    -                   RocksDBStateBackend.LocalRecoveryMode recoveryMode) {
    +                   LocalRecoveryConfig.LocalRecoveryMode recoveryMode) {
                        // we use local recovery when it is activated and we 
are not taking a savepoint.
    -                   return 
RocksDBStateBackend.LocalRecoveryMode.ENABLE_FILE_BASED.equals(recoveryMode)
    +                   return 
LocalRecoveryConfig.LocalRecoveryMode.ENABLE_FILE_BASED.equals(recoveryMode)
    --- End diff --
    
    👍 


---

Reply via email to