liangkaiwen opened a new pull request, #5402:
URL: https://github.com/apache/solr/pull/5402

   https://issues.apache.org/jira/browse/SOLR-18692
   
   # Description
   
   CommitTracker used any positive commitWithin in place of the tracker's 
maxTime, even when it was longer. On TLOG replicas (and cores with 
commitWithinSoftCommit=false) commitWithin goes to the hard commit tracker, so 
a commitWithin of 60s with autoCommit maxTime of 15s held off the hard commit 
for 60s and let the transaction log grow.
   
   Schedule the commit at the smaller of the two when both are set.
   
   # Solution
   
   CommitTracker checks that scheduling a commit with a non-zero commitWithin 
time falls under the commit max time (if set)
   
   # Tests
   
   Please describe the tests you've developed or run to confirm this patch 
implements the feature or solves the problem.
   
   # Checklist
   
   Please review the following and check all that apply:
   
   - [X] I have reviewed the guidelines for [How to 
Contribute](https://github.com/apache/solr/blob/main/CONTRIBUTING.md) and my 
code conforms to the standards described there to the best of my ability.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to