WweiL commented on code in PR #48355:
URL: https://github.com/apache/spark/pull/48355#discussion_r1837461854


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDB.scala:
##########
@@ -278,6 +285,82 @@ class RocksDB(
   // We send snapshots that needs to be uploaded by the maintenance thread to 
this queue
   private val snapshotsToUploadQueue = new 
ConcurrentLinkedQueue[RocksDBSnapshot]()
 
+
+  /**
+ * In the case of checkpointFormatVersion 2, if we find multiple latest 
snapshot files of
+ * the same version but they have different uniqueIds, we need to find the 
correct one based on
+ * the lineage we have.

Review Comment:
   This comment means the same as you said, can you tell me where is the 
confusion?



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