You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by da...@apache.org on 2017/06/01 01:51:42 UTC

[1/2] lucene-solr:master: SOLR-10239: Adding documentation for MoveReplica

Repository: lucene-solr
Updated Branches:
  refs/heads/master 7da9e9d73 -> 82f2a3539


SOLR-10239: Adding documentation for MoveReplica


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/5d0aa603
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/5d0aa603
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/5d0aa603

Branch: refs/heads/master
Commit: 5d0aa603d724f4e2d9aa2a62883c240b0631f2dd
Parents: c824b09
Author: Cao Manh Dat <da...@apache.org>
Authored: Thu Jun 1 08:50:54 2017 +0700
Committer: Cao Manh Dat <da...@apache.org>
Committed: Thu Jun 1 08:50:54 2017 +0700

----------------------------------------------------------------------
 solr/solr-ref-guide/src/collections-api.adoc | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/5d0aa603/solr/solr-ref-guide/src/collections-api.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/collections-api.adoc b/solr/solr-ref-guide/src/collections-api.adoc
index bd32819..3300b6e 100644
--- a/solr/solr-ref-guide/src/collections-api.adoc
+++ b/solr/solr-ref-guide/src/collections-api.adoc
@@ -1883,9 +1883,30 @@ This command recreates replicas in the source node to the target node. After eac
 This operation does not hold necessary locks on the replicas that belong to on the source node. So don't perform other collection operations in this period.
 ====
 
+[[CollectionsAPI-movereplica]]
 == MOVEREPLICA: Move a Replica to a New node
 
-// TODO 6.6
+This command move a replica from a node to a new node, in case of shared-file systems the `dataDir` will be reused.
+
+`/admin/collections?action=MOVEREPLICA&collection=collection&shard=shard&replica=replica&node=nodeName&toNode=nodeName`
+
+[[CollectionsAPI-Input.26]]
+=== Input
+
+*Query Parameters*
+
+// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
+
+[cols="20,15,10,55",options="header"]
+|===
+|Key |Type |Required |Description
+|collection |string |Yes |The name of the collection.
+|shard |string |Yes |The name of shard that replica belong to.
+|replica |string |Yes |The name of the replica.
+|node |string |Yes |The name of the node that contains the replica.
+|toNode |string |Yes |The name of the destination node.
+|async |string |No |Request ID to track this action which will be <<CollectionsAPI-async,processed asynchronously>>.
+|===
 
 [[CollectionsAPI-async]]
 == Asynchronous Calls


[2/2] lucene-solr:master: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr

Posted by da...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/82f2a353
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/82f2a353
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/82f2a353

Branch: refs/heads/master
Commit: 82f2a35396b5988092d9316f54433f52685fdb80
Parents: 5d0aa60 7da9e9d
Author: Cao Manh Dat <da...@apache.org>
Authored: Thu Jun 1 08:51:17 2017 +0700
Committer: Cao Manh Dat <da...@apache.org>
Committed: Thu Jun 1 08:51:17 2017 +0700

----------------------------------------------------------------------
 .../spatial3d/geom/GeoPolygonFactory.java       |  63 ++
 .../lucene/spatial3d/geom/GeoPolygonTest.java   |  63 ++
 solr/CHANGES.txt                                |   7 +
 .../org/apache/solr/cloud/AddReplicaCmd.java    |   3 +-
 .../solr/core/snapshots/SolrSnapshotsTool.java  |   7 +-
 .../solr/handler/admin/ConfigSetsHandler.java   |   4 +
 .../resources/apispec/collections.Commands.json |  14 +-
 .../collections.collection.shards.Commands.json |   5 +
 .../AbstractCloudBackupRestoreTestCase.java     |  11 +-
 .../CollectionsAPIAsyncDistributedZkTest.java   |  62 +-
 .../solr/cloud/CollectionsAPISolrJTest.java     |  12 +-
 ...ConcurrentDeleteAndCreateCollectionTest.java |  12 +-
 .../org/apache/solr/cloud/DeleteStatusTest.java |  23 -
 .../org/apache/solr/cloud/ForceLeaderTest.java  |  25 +-
 .../cloud/FullSolrCloudDistribCmdsTest.java     |  16 +-
 .../apache/solr/cloud/HttpPartitionTest.java    |  36 +-
 .../cloud/LeaderFailoverAfterPartitionTest.java |  10 +-
 .../LeaderInitiatedRecoveryOnCommitTest.java    |  19 +-
 .../apache/solr/cloud/MultiThreadedOCPTest.java |  63 +-
 .../org/apache/solr/cloud/ReplaceNodeTest.java  |   4 +-
 .../solr/cloud/ReplicationFactorTest.java       |   4 +-
 .../apache/solr/cloud/RollingRestartTest.java   |   2 +-
 .../org/apache/solr/cloud/ShardSplitTest.java   |   8 +-
 .../cloud/SharedFSAutoReplicaFailoverTest.java  |  24 +-
 .../cloud/SimpleCollectionCreateDeleteTest.java |  13 +-
 .../apache/solr/cloud/TestCollectionAPI.java    |  24 +-
 .../org/apache/solr/cloud/TestPullReplica.java  |  89 +-
 .../cloud/TestRandomRequestDistribution.java    |  15 +-
 .../solr/cloud/TestRequestForwarding.java       |   6 +-
 .../cloud/TestSolrCloudWithKerberosAlt.java     |   9 +-
 .../TestSolrCloudWithSecureImpersonation.java   |   6 +-
 .../org/apache/solr/cloud/TestTlogReplica.java  |  86 +-
 .../apache/solr/handler/TestBlobHandler.java    |  10 +-
 .../solr/handler/admin/TestCollectionAPIs.java  |  38 +-
 .../solr/handler/admin/TestConfigsApi.java      |   2 +-
 .../solr/search/stats/TestDistribIDF.java       |  13 +-
 .../scripts/cloud-scripts/snapshotscli.sh       |   2 +-
 solr/solr-ref-guide/src/codec-factory.adoc      |  24 +-
 solr/solr-ref-guide/src/coreadmin-api.adoc      |   2 +-
 solr/solr-ref-guide/src/css/theme-solr.css      |   2 +-
 solr/solr-ref-guide/src/enabling-ssl.adoc       |   2 +-
 solr/solr-ref-guide/src/format-of-solr-xml.adoc |  24 +-
 .../src/solr-control-script-reference.adoc      |  11 +-
 .../solrj/request/CollectionAdminRequest.java   | 844 ++-----------------
 ...ollectionAdminRequestRequiredParamsTest.java | 137 +--
 .../request/TestCollectionAdminRequest.java     |  84 +-
 .../cloud/AbstractFullDistribZkTestBase.java    |  23 +-
 47 files changed, 693 insertions(+), 1270 deletions(-)
----------------------------------------------------------------------