You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2015/02/18 14:18:42 UTC

incubator-usergrid git commit: Shard per node.

Repository: incubator-usergrid
Updated Branches:
  refs/heads/USERGRID-273 3b85da791 -> 456e64959


Shard per node.


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/456e6495
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/456e6495
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/456e6495

Branch: refs/heads/USERGRID-273
Commit: 456e64959d9c3c97306efee1e217d04db057febd
Parents: 3b85da7
Author: Dave Johnson <dm...@apigee.com>
Authored: Wed Feb 18 08:18:10 2015 -0500
Committer: Dave Johnson <dm...@apigee.com>
Committed: Wed Feb 18 08:18:10 2015 -0500

----------------------------------------------------------------------
 stack/awscluster/src/main/groovy/configure_usergrid.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/456e6495/stack/awscluster/src/main/groovy/configure_usergrid.groovy
----------------------------------------------------------------------
diff --git a/stack/awscluster/src/main/groovy/configure_usergrid.groovy b/stack/awscluster/src/main/groovy/configure_usergrid.groovy
index 3d3778e..619c0b4 100644
--- a/stack/awscluster/src/main/groovy/configure_usergrid.groovy
+++ b/stack/awscluster/src/main/groovy/configure_usergrid.groovy
@@ -44,7 +44,7 @@ def testAdminUserEmail = System.getenv().get("TEST_ADMIN_USER_EMAIL")
 
 def numEsNodes = Integer.parseInt(System.getenv().get("ES_NUM_SERVERS"))
 //Override number of shards.  Set it to 2x the cluster size
-def esShards = numEsNodes*2;
+def esShards = numEsNodes;
 
 
 //This gives us 3 copies, which means we'll have a quorum with primary + 1 replica