liangkaiwen commented on code in PR #5402:
URL: https://github.com/apache/solr/pull/5402#discussion_r4723087366
##########
solr/core/src/java/org/apache/solr/update/CommitTracker.java:
##########
@@ -126,7 +126,10 @@ public void cancelPendingCommit() {
}
private void _scheduleCommitWithinIfNeeded(long commitWithin) {
- long ctime = (commitWithin > 0) ? commitWithin : timeUpperBound;
+ long ctime =
Review Comment:
I'll dig into what history I can find, but this line of code hasn't been
touched in 15 years (wild)
Fwiw we are making this condition more restrictive, so I'm not as worried
about introducing regression (a la Chesterton's fence)
--
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]