Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-683

Lazy Field Loading has edge case bug causing read past EOF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.1
    • core/index
    • None

    Description

      While trying to run some benchmarking of Lazy filed loading, i discovered there seems to be an edge case when accessing the last field of the last doc of an index.

      the problem seems to only happen when the doc has been accessed after at least one other doc.

      i have not tried to dig into the code to find the root cause, testcase to follow...

      Attachments

        1. TestLazyBug.java
          4 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              yseeley@gmail.com Yonik Seeley
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: