Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-17041

Make CommitTracker currentTlogSize lazy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • main (10.0), 9.5
    • None
    • None

    Description

      CommitTracker's addedDocument method needs the currentĀ currentTlogSize to determine if it should schedule a merge but it might not actually use it. If we make this a supplier, the call to get the size would be made only if it's needed.

      Attachments

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              stillalex Alex Deparvu
              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 - 0.5h
                  0.5h