You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2015/03/29 04:31:29 UTC
[02/11] incubator-brooklyn git commit: Couchbase: change default
bucket-ramsize to 100
Couchbase: change default bucket-ramsize to 100
- with 200, tests that created a bucket were failing on softlayer.
Decreasing it to 100 (which is the minimum) let them pass
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/c76b9de9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/c76b9de9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/c76b9de9
Branch: refs/heads/master
Commit: c76b9de9245d6a8debee54f4539c8390aeec59ac
Parents: e9ab67b
Author: Aled Sage <al...@gmail.com>
Authored: Tue Mar 10 16:22:35 2015 +0000
Committer: Aled Sage <al...@gmail.com>
Committed: Thu Mar 26 10:09:40 2015 +0000
----------------------------------------------------------------------
.../java/brooklyn/entity/nosql/couchbase/CouchbaseClusterImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/c76b9de9/software/nosql/src/main/java/brooklyn/entity/nosql/couchbase/CouchbaseClusterImpl.java
----------------------------------------------------------------------
diff --git a/software/nosql/src/main/java/brooklyn/entity/nosql/couchbase/CouchbaseClusterImpl.java b/software/nosql/src/main/java/brooklyn/entity/nosql/couchbase/CouchbaseClusterImpl.java
index 8d26896..ca12a89 100644
--- a/software/nosql/src/main/java/brooklyn/entity/nosql/couchbase/CouchbaseClusterImpl.java
+++ b/software/nosql/src/main/java/brooklyn/entity/nosql/couchbase/CouchbaseClusterImpl.java
@@ -502,7 +502,7 @@ public class CouchbaseClusterImpl extends DynamicClusterImpl implements Couchbas
String bucketType = bucketMap.containsKey("bucket-type") ? (String) bucketMap.get("bucket-type") : "couchbase";
// default bucket must be on this port; other buckets can (must) specify their own (unique) port
Integer bucketPort = bucketMap.containsKey("bucket-port") ? (Integer) bucketMap.get("bucket-port") : 11211;
- Integer bucketRamSize = bucketMap.containsKey("bucket-ramsize") ? (Integer) bucketMap.get("bucket-ramsize") : 200;
+ Integer bucketRamSize = bucketMap.containsKey("bucket-ramsize") ? (Integer) bucketMap.get("bucket-ramsize") : 100;
Integer bucketReplica = bucketMap.containsKey("bucket-replica") ? (Integer) bucketMap.get("bucket-replica") : 1;
createBucket(primaryNode, bucketName, bucketType, bucketPort, bucketRamSize, bucketReplica);