LuciferYang commented on code in PR #36467:
URL: https://github.com/apache/spark/pull/36467#discussion_r867603816


##########
common/kvstore/src/main/java/org/apache/spark/util/kvstore/RocksDB.java:
##########
@@ -457,4 +480,19 @@ byte[] getPrefix(RocksDBTypeInfo.Index idx) throws 
Exception {
 
   }
 
+  private static class RocksDBIteratorWeakReference extends 
WeakReference<RocksDBIterator<?>> {

Review Comment:
   
[65e0c00](https://github.com/apache/spark/pull/36467/commits/65e0c00077906ce8a2ff0640278395a7b4e3f914)
 move `RocksDBIteratorWeakReference` to `RocksDBIterator` first to avoid  add 
`Getter` of `o.rocksdb.RocksIterator` 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to