DataimportHandler import command should check if status is not idle, to avoid race conditions
Marking this bug for 1.3
Unmarking this for 1.3 – the changes may be too invasive. We shall fix this in the next release.
Patch which uses ReentrantLock in DataImporter to make sure only one import is running at a given time.
I'll commit this in a day or two.
The previous patch did not pass the test due to incorrect logic when dealing with first use.
Attached patch fixes it. I'll commit this shortly.
Committed revision 707295.
Bulk close for Solr 1.4