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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.7
    • Fix Version/s: 1.12.0, 1.10.1, 1.8.12
    • Component/s: lucene
    • Labels:
      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-take2.patch
          10 kB
          Vikas Saurabh
        2. OAK-8046.patch
          9 kB
          Vikas Saurabh

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: