Alex Deparvu created SOLR-17041:
-----------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]