zecookiez commented on code in PR #50123: URL: https://github.com/apache/spark/pull/50123#discussion_r1978270125
########## sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBStateStoreProvider.scala: ########## @@ -38,9 +38,14 @@ import org.apache.spark.sql.types.StructType import org.apache.spark.unsafe.Platform import org.apache.spark.util.{NonFateSharingCache, Utils} +/** Trait representing the different events reported from RocksDB instance */ +trait RocksDBEventListener { Review Comment: RocksDB state stores are a bit more special because the event is getting reported within the state store's `rocksdb` instance, whereas HDFS just reports straight from the state store itself. This trait would not be needed for the HDFS state stores -- 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