uschindler edited a comment on pull request #310:
URL: https://github.com/apache/lucene/pull/310#issuecomment-922998460


   Hi,
   I had to revert the read/write of shorts, because this seems to cause 
errors. It looks like Lucene 9 sometimes uses a EndiannessReverserDataInput 
which causes test failures when reading 8.x indexes (which have different 
endianness). This endianness reversal cause the LZ4 stream to have wrong shorts.
   
   So we can't rely on endianness of DataInput and should hardcode it when 
writing/reading the LZ4 format.


-- 
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: issues-unsubscr...@lucene.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to