liuyufei9527 commented on a change in pull request #14341:
URL: https://github.com/apache/flink/pull/14341#discussion_r580084852



##########
File path: 
flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBResourceContainer.java
##########
@@ -207,4 +221,37 @@ public void close() throws Exception {
             sharedResources.close();
         }
     }
+
+    /**
+     * Overwrite configured {@link Filter} if enable partitioned filter. 
Partitioned filter only
+     * worked in full bloom filter, not blocked based.
+     */
+    private void overwriteFilterIfExist(BlockBasedTableConfig 
blockBasedTableConfig) {

Review comment:
       I don't sure unused BloomFilter whether it consumes resources, so I 
close it manually. I'll revert this if it's ok to keep the useless filter.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to