You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2018/07/31 08:17:19 UTC
[3/4] lucene-solr:jira/solr-12607: SOLR-12607: Log DEBUG messages
from overseer and collections API commands
SOLR-12607: Log DEBUG messages from overseer and collections API commands
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/797384e0
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/797384e0
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/797384e0
Branch: refs/heads/jira/solr-12607
Commit: 797384e0af7c27904133df8cd2db53d23750b374
Parents: fbd4be7
Author: Shalin Shekhar Mangar <sh...@apache.org>
Authored: Tue Jul 31 12:53:14 2018 +0530
Committer: Shalin Shekhar Mangar <sh...@apache.org>
Committed: Tue Jul 31 12:53:14 2018 +0530
----------------------------------------------------------------------
.../org/apache/solr/cloud/api/collections/ShardSplitTest.java | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/797384e0/solr/core/src/test/org/apache/solr/cloud/api/collections/ShardSplitTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/cloud/api/collections/ShardSplitTest.java b/solr/core/src/test/org/apache/solr/cloud/api/collections/ShardSplitTest.java
index 92fd4d5..009d5a0 100644
--- a/solr/core/src/test/org/apache/solr/cloud/api/collections/ShardSplitTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/api/collections/ShardSplitTest.java
@@ -63,6 +63,7 @@ import org.apache.solr.common.cloud.ZkStateReader;
import org.apache.solr.common.params.CollectionParams;
import org.apache.solr.common.params.ModifiableSolrParams;
import org.apache.solr.common.util.Utils;
+import org.apache.solr.util.LogLevel;
import org.apache.solr.util.TestInjection;
import org.junit.Test;
import org.slf4j.Logger;
@@ -73,6 +74,7 @@ import static org.apache.solr.common.cloud.ZkStateReader.MAX_SHARDS_PER_NODE;
import static org.apache.solr.common.cloud.ZkStateReader.REPLICATION_FACTOR;
@Slow
+@LogLevel("org.apache.solr.cloud.Overseer=DEBUG;org.apache.solr.cloud.overseer=DEBUG;org.apache.solr.cloud.api.collections=DEBUG")
public class ShardSplitTest extends BasicDistributedZkTest {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
@@ -398,6 +400,10 @@ public class ShardSplitTest extends BasicDistributedZkTest {
public void testSplitWithChaosMonkey() throws Exception {
waitForThingsToLevelOut(15);
+ log.info("Using legacyCloud=false for cluster");
+ CollectionAdminRequest.setClusterProperty(ZkStateReader.LEGACY_CLOUD, "false")
+ .process(cloudClient);
+
List<StoppableIndexingThread> indexers = new ArrayList<>();
try {
for (int i = 0; i < 1; i++) {