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

Ensure SR#getSementInfo() returns snapshot

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.4, 8.0
    • 7.4, 8.0
    • None
    • None
    • New, Patch Available

    Description

      The SegmentCommitInfo passed to the segment reader is mutated concurrently.
      An instance obtained from SR#getSegmentInfo() might return wrong delete counts
      or generation ids. This ensures that the SR will use a clone internally while stil
      maintaining the original SI since it's needed inside IW for maintainance like
      accessing pooled readers etc.

      Attachments

        1. LUCENE-8334.patch
          9 kB
          Simon Willnauer
        2. LUCENE-8334.patch
          9 kB
          Simon Willnauer

        Activity

          People

            Unassigned Unassigned
            simonw Simon Willnauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: