Affects Version/s: None
Fix Version/s: None
There seems to be a bug in the SequenceFile#sync function. Thanks to Christopher Ng for this report:
the problem is that when you sync to the start of a compressed file, the
noBufferedKeys and valuesDecompressed isn't reset so a block read isn't
triggered. When you subsequently call next() you're potentially getting
keys from the buffer which still contains keys from the previous position
of the file.