hemanthboyina opened a new pull request, #14947:
URL: https://github.com/apache/iceberg/pull/14947

   In SnapshotProducer.commit(), moved stagedSnapshot.set(newSnapshot) from 
before the no-op check to after the successful commit. This ensures that when a 
commit succeeds on the metastore but the client receives an error and retries, 
the cleanup phase uses the correct manifest list reference from the 
actually-committed snapshot, preventing deletion of the committed manifest list 
file.
   
   Fixes https://github.com/apache/iceberg/issues/14583


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