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

Off-by-one error in Lucene54DocValuesProducer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.4
    • 5.4.1, 5.5, 6.0
    • None
    • None
    • New

    Description

      This was found by this build failure: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/15210/

      If the doc count is a multiple of 65534 minus one and the segment is storing binary, sorted set or sorted numeric doc values then you may hit an error when reading values that is due to an off-by-one error in Lucene54DocValuesProducer. This was introduced in LUCENE-6840.

      I'll upload a patch shortly.

      Attachments

        1. LUCENE-6970.patch
          6 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: