Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E3A78200CC4 for ; Thu, 29 Jun 2017 02:01:38 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E28AF160BFA; Thu, 29 Jun 2017 00:01:38 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 34D5E160BF7 for ; Thu, 29 Jun 2017 02:01:38 +0200 (CEST) Received: (qmail 8281 invoked by uid 500); 29 Jun 2017 00:01:37 -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 8272 invoked by uid 99); 29 Jun 2017 00:01:37 -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; Thu, 29 Jun 2017 00:01:37 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 43F75DFAB0; Thu, 29 Jun 2017 00:01:37 +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: <701b4479c7124d7487d1169bcc4ff4c6@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: lucene-solr:feature/autoscaling: SOLR-10496: Removed nocommit and added a simple description of the class Date: Thu, 29 Jun 2017 00:01:37 +0000 (UTC) archived-at: Thu, 29 Jun 2017 00:01:39 -0000 Repository: lucene-solr Updated Branches: refs/heads/feature/autoscaling 44e723159 -> 39b125166 SOLR-10496: Removed nocommit and added a simple description of the class Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/39b12516 Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/39b12516 Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/39b12516 Branch: refs/heads/feature/autoscaling Commit: 39b125166c8f9160da79c959b976244c695eaa8f Parents: 44e7231 Author: Shalin Shekhar Mangar Authored: Thu Jun 29 05:31:29 2017 +0530 Committer: Shalin Shekhar Mangar Committed: Thu Jun 29 05:31:29 2017 +0530 ---------------------------------------------------------------------- .../org/apache/solr/cloud/autoscaling/ComputePlanAction.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/39b12516/solr/core/src/java/org/apache/solr/cloud/autoscaling/ComputePlanAction.java ---------------------------------------------------------------------- diff --git a/solr/core/src/java/org/apache/solr/cloud/autoscaling/ComputePlanAction.java b/solr/core/src/java/org/apache/solr/cloud/autoscaling/ComputePlanAction.java index 8d9f8cd..809a149 100644 --- a/solr/core/src/java/org/apache/solr/cloud/autoscaling/ComputePlanAction.java +++ b/solr/core/src/java/org/apache/solr/cloud/autoscaling/ComputePlanAction.java @@ -36,7 +36,11 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * todo nocommit + * This class is responsible for using the configured policy and preferences + * with the hints provided by the trigger event to compute the required cluster operations. + * + * The cluster operations computed here are put into the {@link ActionContext}'s properties + * with the key name "operations". The value is a List of SolrRequest objects. */ public class ComputePlanAction implements TriggerAction { private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());