Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8046

Result items are not always correctly counted against the configured read limit if a query uses a lucene index

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.7
    • 1.12.0, 1.10.1, 1.8.12
    • lucene
    • None

    Description

      There are cases where an index is re-opened during query execution. In that case, already returned entries are read again and skipped, so basically counted twice. This should be fixed to only count entries once (see also [1])

      The issue most likely exists since the read limit was introduced with OAK-6875

      [1] https://lists.apache.org/thread.html/dddf9834fee0bccb6e48f61ba2a01430e34fc0b464b12809f7dfe2eb@%3Coak-dev.jackrabbit.apache.org%3E

      Attachments

        1. OAK-8046.patch
          9 kB
          Vikas Saurabh
        2. OAK-8046-take2.patch
          10 kB
          Vikas Saurabh

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              henzlerg Georg Henzler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: