askwang commented on PR #4467:
URL: https://github.com/apache/paimon/pull/4467#issuecomment-2461241352

   > A question: Assuming that when the user executes the rollback procedure 
with snapshot = 1, the latestSnapshot Id of the Paimon table is 1, and before 
the rollback procedure ends, the latestSnapshot Id of the Paimon table changes 
to 2. After you apply this patch, in the end, the rollback procedure fast 
return, so the RollbackHelper#cleanLargerThan will not be called. Is this the 
result that the user wants?
   
   In this case, the result is not what the user wants. But although there does 
not fast return, this case may also occur. For example, the rollback snapshot 
is 1 and the latest snapshot of table is also 1, before rollback ends the 
lastest snapshot of table changes to 2 or 3, the rollback logic gets the 
lastest shotshot is diffcult to keep always the newest, this will cause some 
new snapshots not to be processed.


-- 
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: issues-unsubscr...@paimon.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to