lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
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 GMT
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 <shalin@apache.org>
Authored: Thu Jun 29 05:31:29 2017 +0530
Committer: Shalin Shekhar Mangar <shalin@apache.org>
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());


Mime
View raw message