mirror of https://github.com/apache/lucene.git
SOLR-2565: same as the addDoc bug, deletes are not triggering soft commits if hard auto commit by time is also configured
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1161265 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
69d8906c16
commit
a05f774573
|
@ -187,7 +187,9 @@ public class DirectUpdateHandler2 extends UpdateHandler {
|
|||
|
||||
if (commitTracker.getTimeUpperBound() > 0) {
|
||||
commitTracker.scheduleCommitWithin(commitTracker.getTimeUpperBound());
|
||||
} else if (softCommitTracker.getTimeUpperBound() > 0) {
|
||||
}
|
||||
|
||||
if (softCommitTracker.getTimeUpperBound() > 0) {
|
||||
softCommitTracker.scheduleCommitWithin(softCommitTracker.getTimeUpperBound());
|
||||
}
|
||||
}
|
||||
|
@ -219,7 +221,9 @@ public class DirectUpdateHandler2 extends UpdateHandler {
|
|||
|
||||
if (commitTracker.getTimeUpperBound() > 0) {
|
||||
commitTracker.scheduleCommitWithin(commitTracker.getTimeUpperBound());
|
||||
} else if (softCommitTracker.getTimeUpperBound()> 0) {
|
||||
}
|
||||
|
||||
if (softCommitTracker.getTimeUpperBound()> 0) {
|
||||
softCommitTracker.scheduleCommitWithin(softCommitTracker.getTimeUpperBound());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue