Skip to content

Cluster converging WIP #15

@ProTip

Description

@ProTip

Hello. I've done some work on cluster convergence: https://github.com/ProTip/couchbase/tree/pool_join . Not a lot of testing going on and it's got a gutted gem inside it(somebody already used "recliner"). It works well for my purposes though and was hoping somebody might be willing to lend a hand or advice in getting it ready for integration. Here is an example of using the new functionality:

couchbase_cluster "NewCluster" do
  members_finder Proc.new {
    member_nodes = search(:node, 'tags:couchbase_cluster\:\:session_provider')
    member_nodes.map { |node| node['ipaddress'] }
  }
  username 'Administrator'
  password 'Password'
  exists false
  action :nothing
end.run_action(:converge)

There is a configurable timeout set to 120 by default. If it can't converge in that time it will raise the usual timeout exception. Here is some information about the angle I took: https://github.com/ProTip/recliner

-Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions