From commits-return-102494-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Sat Jul 28 08:20:00 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3ACEE180600 for ; Sat, 28 Jul 2018 08:20:00 +0200 (CEST) Received: (qmail 48472 invoked by uid 500); 28 Jul 2018 06:19:59 -0000 Mailing-List: contact commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list commits@lucene.apache.org Received: (qmail 48462 invoked by uid 99); 28 Jul 2018 06:19:59 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Jul 2018 06:19:59 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 06570DFA6D; Sat, 28 Jul 2018 06:19:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shalin@apache.org To: commits@lucene.apache.org Message-Id: <0a580d97c91341c1a82ddb2d844cf4df@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: lucene-solr:jira/solr-11990: SOLR-11990: Added note about co-location guarantees being one way only Date: Sat, 28 Jul 2018 06:19:58 +0000 (UTC) Repository: lucene-solr Updated Branches: refs/heads/jira/solr-11990 8557cbc8a -> 1857075fd SOLR-11990: Added note about co-location guarantees being one way only Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/1857075f Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/1857075f Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/1857075f Branch: refs/heads/jira/solr-11990 Commit: 1857075fdb9d535b6149ad4369fed8b64b0c01f6 Parents: 8557cbc Author: Shalin Shekhar Mangar Authored: Sat Jul 28 11:49:51 2018 +0530 Committer: Shalin Shekhar Mangar Committed: Sat Jul 28 11:49:51 2018 +0530 ---------------------------------------------------------------------- solr/solr-ref-guide/src/colocating-collections.adoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/1857075f/solr/solr-ref-guide/src/colocating-collections.adoc ---------------------------------------------------------------------- diff --git a/solr/solr-ref-guide/src/colocating-collections.adoc b/solr/solr-ref-guide/src/colocating-collections.adoc index 1fc1ca6..cc6b518 100644 --- a/solr/solr-ref-guide/src/colocating-collections.adoc +++ b/solr/solr-ref-guide/src/colocating-collections.adoc @@ -18,7 +18,7 @@ // specific language governing permissions and limitations // under the License. -Solr provides a way to co-locate two collections together so that cross-collection joins are always possible. +Solr provides a way to co-locate a collection with another so that cross-collection joins are always possible. The co-location guarantee applies to all future Collection operations made either via Collections API or by Autoscaling actions. @@ -69,3 +69,8 @@ which can prevent such overloading by e.g. setting the maximum number of cores p Example: `{'cores' : '<8', 'node' : '#ANY'}` + +The co-location guarantee is one-way only i.e. a collection 'X' co-located with 'Y' will always have one or more +replicas of 'Y' on any node that has a replica of 'X' but the reverse is not true. There may be nodes which have one or +more replicas of 'Y' but no replicas of 'X'. Such replicas of 'Y' will not be considered a violation of co-location +rules and will not be cleaned up automatically. \ No newline at end of file