mirror of https://github.com/apache/lucene.git
SOLR-5309: Do not try to delete document ids whose addition had failed earlier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605883 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fa405e1a59
commit
d91568be77
|
@ -204,7 +204,9 @@ public class ShardSplitTest extends BasicDistributedZkTest {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("Exception while adding docs", e);
|
log.error("Exception while adding doc id = " + id, e);
|
||||||
|
// do not select this id for deletion ever
|
||||||
|
deleted.add(String.valueOf(id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue