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

Disable per-thread caching of buffers for stored fields

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.7
    • None
    • None
    • New

    Description

      Stored fields currently cache buffers that are used to decompress data. However with one buffer per thread per segment, these buffers can start using non-negligible amounts of data.

      I think we should keep them for merges, but either remove them completely for regular reads, or sharing them across all segments. As I'd like to avoid relying on global threadlocals, I'm leaning towards removing them.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m