You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Alex Deparvu (Jira)" <ji...@apache.org> on 2023/11/08 18:10:00 UTC

[jira] [Resolved] (SOLR-17041) Make CommitTracker currentTlogSize lazy

     [ https://issues.apache.org/jira/browse/SOLR-17041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Deparvu resolved SOLR-17041.
---------------------------------
    Fix Version/s: main (10.0)
                   9.5
         Assignee: Alex Deparvu
       Resolution: Fixed

> Make CommitTracker currentTlogSize lazy
> ---------------------------------------
>
>                 Key: SOLR-17041
>                 URL: https://issues.apache.org/jira/browse/SOLR-17041
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Alex Deparvu
>            Assignee: Alex Deparvu
>            Priority: Trivial
>             Fix For: main (10.0), 9.5
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org