mirror of https://github.com/apache/lucene.git
Return iif lock could not be obtained.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@708511 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bbde265bfe
commit
f12ed3dee6
|
@ -385,7 +385,7 @@ public class DataImporter {
|
|||
}
|
||||
|
||||
void runCmd(RequestParams reqParams, SolrWriter sw, Map<String, String> variables) {
|
||||
if (importLock.tryLock())
|
||||
if (!importLock.tryLock())
|
||||
return;
|
||||
try {
|
||||
String command = reqParams.command;
|
||||
|
|
Loading…
Reference in New Issue