manuzhang opened a new pull request, #1206:
URL: https://github.com/apache/iceberg-cpp/pull/1206

   ## Why
   
   Split semantic validation out of #1169. JSON serde should decode and encode 
metadata without deciding whether the snapshots and table counters agree.
   
   ## What
   
   - Validate sequence and row ID bounds when reading or writing metadata 
files, accepting REST table metadata, and building the final metadata 
candidate. Do not call `TableMetadata::Validate()` inside JSON serde.
   - Keep a semantic validation failure after a successful REST commit on the 
`CommitStateUnknown` path so it cannot trigger cleanup or replay.
   - Report a stale parentless snapshot sequence as retryable before modifying 
the sequence counter. Preserve the parentless sequence-zero compatibility case.
   
   ## Validation
   
   Pre-commit and `git diff --check` passed. Added regression coverage for file 
and REST validation boundaries, retained snapshot bounds, and stale parentless 
sequence numbers. Runtime checks pending.


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