Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3748

issue with DataFileSeekableInput.SeekableInputStream.skip

    XMLWordPrintableJSON

Details

    Description

      We found a longstanding bug in the implementation of DataFileSeekableInput.SeekableInputStream.skip.

      This skip function is not hit that often.  It can for example be hit when the FastReader is enabled and it tries to skip a significant amount of data.

      The implmentation of this function is however fault and can result in data corruption or
      java.io.EOFException, as instead of skipping the number of bytes, it will seek to a wrong place in the file.
       
      We have a pull request ready to fix and test this issue.
       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            steven.aerts Steven Aerts
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 20m
                1h 20m