anishshri-db commented on code in PR #43961:
URL: https://github.com/apache/spark/pull/43961#discussion_r1430858707
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDB.scala:
##########
@@ -118,6 +121,10 @@ class RocksDB(
dbOptions.setWriteBufferManager(writeBufferManager)
}
+ // Maintain mapping of column family name to handle
+ @volatile private var colFamilyNameToHandleMap =
Review Comment:
We don't change the reference. I changed it to `private val`. But its
basically guarded by the DB instance lock - I think that should be sufficient
here
--
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]