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:
Shalin Shekhar Mangar 2014-06-26 19:20:28 +00:00
parent fa405e1a59
commit d91568be77
1 changed files with 3 additions and 1 deletions

View File

@ -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));
} }
} }
} }