atris commented on issue #2257: 2178: IOException Should Be Thrown When Journal 
Is Corrupted
URL: https://github.com/apache/bookkeeper/pull/2257#issuecomment-583752881
 
 
   > @atris I think the issue was thrown when attempting to seek to a position 
doesn't exist. so I guess you can truncate the file to reproduce.
   
   @sijie Thanks, I updated the test but FileChannel.position then moves the 
file pointer to the asked location. What am I missing, please?
   
   https://gist.github.com/atris/773e1074edd1d50786ff35e300495984

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to