Re: [PR] fix(commit): handle ambiguous atomic snapshot writes [paimon-cpp]

2026-09-29 Thread via GitHub


SteNicholas merged PR #397:
URL: https://github.com/apache/paimon-cpp/pull/397


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



[PR] fix(commit): handle ambiguous atomic snapshot writes [paimon-cpp]

2026-09-28 Thread via GitHub


lxy-9602 opened a new pull request, #397:
URL: https://github.com/apache/paimon-cpp/pull/397

   
   
   ### Purpose
   
   
   Linked issue: close #396 
   
   Handle `AtomicStore` failures in `RenamingSnapshotCommit` by inspecting the 
target snapshot:
   
   - Return the original error when the target is missing.
   - Return `false` when the target contains a different snapshot, allowing the 
existing commit retry loop to rebase.
   - Treat the commit as successful when the target contains the same snapshot.
   
   
   
   ### Tests
   - Added tests for matching, conflicting, and missing target snapshots after 
an atomic-store error.
   - Updated the existing lost-response test to expect a successful commit.
   
   
   
   ### API and Format
   
   
   
   ### Documentation
   
   
   
   ### Generative AI tooling
   Generated-by: OpenAI Codex (GPT-5)
   
   


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