LiangRuoShui commented on issue #9220:
URL: https://github.com/apache/paimon/issues/9220#issuecomment-6192732044

   Following up on this issue: could you clarify whether Paimon guarantees that 
tag creation and snapshot expiration are safe to run concurrently?
   
   The related review discussion in 
https://github.com/apache/paimon-cpp/pull/357#discussion_r4023944427 mentions 
Java's protection of tagged snapshots. However, the race reported here affects 
the Java implementation even with that protection: a tag created after 
expiration collects tagged snapshots can return success while expiration 
deletes files it references.
   
   If callers are expected to serialize tag creation and snapshot expiration 
themselves, should that requirement be explicitly documented in the relevant 
APIs and user guides? Clarifying this contract would help downstream 
integrations implement the necessary coordination.
   


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

Reply via email to