mridulm commented on PR #36467:
URL: https://github.com/apache/spark/pull/36467#issuecomment-1121625153

   I have not looked into this in great detail, but why not simply return a 
boolean from `notifyIteratorClosed` to indicate if the underlying db has been 
closed or not ?
   This can be used to determine if the iterator needs to be closed ? This is 
similar to what `closeIterator` does in RocksDb (for example)


-- 
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