wangyum opened a new pull request, #3446:
URL: https://github.com/apache/avro/pull/3446

   ## What is the purpose of the change
   
   Enhanced the error message when an invalid sync marker is encountered in 
`DataFileStream`. The new message provides more context about what a sync 
marker is, why it might be invalid, and suggests possible solutions to fix the 
problem.
   
   The previous error message was too brief ("Invalid sync!") and didn't 
provide users with enough information to understand or troubleshoot the issue. 
The improved message makes debugging easier by explaining:
   - What exactly failed (sync marker mismatch)
   - Likely causes (data corruption, truncation, incorrect concatenation)
   - Steps to resolve the issue


-- 
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: dev-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to