mirror of https://github.com/apache/lucene.git
Fix small copy paste error (no test failed!!!) in LUCENE-3084 (how can this happen?)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1124316 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4fb8aa0d4e
commit
e3a3a7aafe
|
@ -2552,7 +2552,7 @@ public class IndexWriter implements Closeable {
|
|||
lastCommitChangeCount = pendingCommitChangeCount;
|
||||
segmentInfos.updateGeneration(pendingCommit);
|
||||
segmentInfos.setUserData(pendingCommit.getUserData());
|
||||
rollbackSegments = segmentInfos.createBackupSegmentInfos(true);
|
||||
rollbackSegments = pendingCommit.createBackupSegmentInfos(true);
|
||||
deleter.checkpoint(pendingCommit, true);
|
||||
} finally {
|
||||
// Matches the incRef done in startCommit:
|
||||
|
|
Loading…
Reference in New Issue