You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/08/11 23:27:28 UTC
[lucene-solr] branch reference_impl_dev updated: @514 Commit back
to non synchronous.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl_dev by this push:
new 6569063 @514 Commit back to non synchronous.
6569063 is described below
commit 65690637d2dae7844ba7e9d58587ecde9bdc0639
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Tue Aug 11 18:26:47 2020 -0500
@514 Commit back to non synchronous.
---
solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java | 2 +-
solr/solrj/src/java/org/apache/solr/client/solrj/SolrRequest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java b/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
index dbd1d34..894cda1 100644
--- a/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
+++ b/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
@@ -200,7 +200,7 @@ public class SolrCmdDistributor implements Closeable {
uReq.setParams(params);
addCommit(uReq, cmd);
- submit(new Req(cmd, node, uReq, true));
+ submit(new Req(cmd, node, uReq, false));
}
}
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/SolrRequest.java b/solr/solrj/src/java/org/apache/solr/client/solrj/SolrRequest.java
index 2730ad6..e40a04f 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/SolrRequest.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/SolrRequest.java
@@ -88,7 +88,7 @@ public abstract class SolrRequest<T extends SolrResponse> implements Serializabl
private String basicAuthUser, basicAuthPwd;
- private String basePath;
+ private volatile String basePath;
public SolrRequest setBasicAuthCredentials(String user, String password) {
this.basicAuthUser = user;