SOLR-2695 -- Documents are collected in unsynchronized list in multi-threaded debug mode

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1153844 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2011-08-04 10:57:52 +00:00
parent 40b3f06f9d
commit 826092d998
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ Bug Fixes
* SOLR-2492: DIH does not commit if only deletes are processed (James Dyer via shalin)
* SOLR-2186: DataImportHandler's multi-threaded option throws NPE (Lance Norskog, Frank Wesemann, shalin)
* SOLR-2655: DIH multi threaded mode does not resolve attributes correctly (Frank Wesemann, shalin)
* SOLR-2695: Documents are collected in unsynchronized list in multi-threaded debug mode (Michael McCandless, shalin)
================== 3.3.0 ==================

View File

@ -540,7 +540,7 @@ public class DataImporter {
public ContentStream contentStream;
public List<SolrInputDocument> debugDocuments = new ArrayList<SolrInputDocument>(0);
public List<SolrInputDocument> debugDocuments = Collections.synchronizedList(new ArrayList<SolrInputDocument>());
public NamedList debugVerboseOutput = null;