zecookiez commented on code in PR #50123: URL: https://github.com/apache/spark/pull/50123#discussion_r1979752276
########## sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDB.scala: ########## @@ -134,6 +134,9 @@ class RocksDB( rocksDbOptions.setStatistics(new Statistics()) private val nativeStats = rocksDbOptions.statistics() + // Stores a StateStoreProvider reference for event callback such as snapshot upload reports + private var providerListener: Option[RocksDBEventListener] = None Review Comment: Makes sense, switched to initialize in the constructor instead. -- 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