korsakowii commented on PR #4496:
URL: https://github.com/apache/iceberg-python/pull/4496#issuecomment-7299509776

   Following up on my earlier validation, I tested the new snapshot guard on 
`8cb0db0e`.
   
   Concurrent appends to `main` work as expected, but I found an issue with 
writes to another branch.
   
   On SQLite, two appends to an `audit` branch advanced the table sequence to 3 
without changing `main`. The stale replacement then committed and lowered 
`last-sequence-number` back to 2.
   
   The Java REST fixture rejected the same commit with HTTP 400.
   
   Since [sequence numbers](https://iceberg.apache.org/spec/#sequence-numbers) 
are table-wide and monotonically increasing, should we also guard against 
sequence advancement on other branches?
   
   Happy to share a reproducer.


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