StephanEwen commented on a change in pull request #10423: [FLINK-14378][state] 
Cleanup rocksDB lib folder if fail to load library
URL: https://github.com/apache/flink/pull/10423#discussion_r355123761
 
 

 ##########
 File path: 
flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBStateBackend.java
 ##########
 @@ -104,7 +105,8 @@
        private static final Logger LOG = 
LoggerFactory.getLogger(RocksDBStateBackend.class);
 
        /** The number of (re)tries for loading the RocksDB JNI library. */
-       private static final int ROCKSDB_LIB_LOADING_ATTEMPTS = 3;
+       @VisibleForTesting
 
 Review comment:
   This seems not used in the tests any more, so we can change the visibility 
back.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to