mirror of https://github.com/apache/lucene.git
SOLR-886 -- No need to call commit after calling rollback
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@761605 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d1e4980f66
commit
273705738f
|
@ -211,7 +211,6 @@ public class DocBuilder {
|
|||
|
||||
void rollback() {
|
||||
writer.rollback();
|
||||
writer.commit(false);
|
||||
statusMessages.put("", "Indexing failed. Rolled back all changes.");
|
||||
addStatusMessage("Rolledback");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue