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

LRUQueryCache.onDocIdSetEviction should not be called when nothing is evicted

Details

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

    Description

      This method is confusing because it states it will be called "when one or more DocIdSets are removed from this cache" but may actually be called with zero docidsets when evicting a per-segment cache that did not contain any entries.

      Attachments

        1. LUCENE-6918.patch
          3 kB
          Adrien Grand

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: