You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by aledsage <gi...@git.apache.org> on 2015/03/10 13:40:04 UTC

[GitHub] incubator-brooklyn pull request: set IS_IN_CLUSTER on couchbase pr...

Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/488#discussion_r26117411
  
    --- Diff: software/nosql/src/main/java/brooklyn/entity/nosql/couchbase/CouchbaseClusterImpl.java ---
    @@ -229,8 +229,13 @@ protected void doStart() {
                     }
                     
                     ((CouchbaseNode)getPrimaryNode()).rebalance();
    -            } else if (getQuorumSize()>1) {
    -                log.warn(this+" is not quorate; will likely fail later, but proceeding for now");
    +            } else {
    +                if (getQuorumSize()>1) {
    --- End diff --
    
    Should this really be `if (getQuorumSize() > serversToAdd.size())`? I won't let that block a merge of the PR though.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---