LuciferYang commented on code in PR #43502: URL: https://github.com/apache/spark/pull/43502#discussion_r1371100897
########## common/kvstore/src/main/java/org/apache/spark/util/kvstore/RocksDBIterator.java: ########## @@ -272,4 +273,39 @@ static int compare(byte[] a, byte[] b) { return a.length - b.length; } + static class ResourceCleaner implements Runnable { Review Comment: can be a `private record`? -- 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. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org