Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance/krab/cluster realtime rebalance rebase 2.0 #651

Merged
merged 26 commits into from
Jan 23, 2015

Conversation

lixen
Copy link
Contributor

@lixen lixen commented Jan 8, 2015

Rebase and some squash of #632.

Will start looking at mixed cluster tests as @lordnull proposed.

@lixen lixen force-pushed the enhance/krab/cluster-realtime-rebalance-rebase-2.0 branch 2 times, most recently from e1935d9 to dbc6585 Compare January 14, 2015 15:02
@lixen
Copy link
Contributor Author

lixen commented Jan 15, 2015

Now it works with mixed clusters. Tested with a RT only replication2_upgrade.

@Basho-JIRA
Copy link

This is a fix for - basho/riak#625

_[posted via JIRA by Derek Somogyi]_

@lordnull
Copy link
Contributor

👍 dbc6585

Mixed version test is no more broken than against the 2.0 branch.

macintux and others added 25 commits January 22, 2015 16:12
This implementes riak_core_cluster_serv {1,1}
with new membership function on the server side
to give list of {node(), {IP,Port} | unreachable} 
for *all* members of remote cluster.  Nodes for
which the cluster_serv cannot RPC to the given
node yield ‘unreachable’ in stead of an IP/Port.
Use new all_members message if remote is 1,1+
For 1,0 emulate new semantics by keeping old
IP:PORTs around until cluster_mgr restart.

Implement new seeded sort+shuffle for result of
calling cluster_mgr:get_ipaddrs_of_cluster/1.
The first tells the caller the address currently
connected to.  The second tells the rtsource_conn
to try (if possible) to switch to an alternative
connection.
Possible to lose some addresses when ConnectedAddr are early in the list.

[{"127.0.0.1",10106},{"127.0.0.1",10066},{"127.0.0.1",10096},{"127.0.0.1",10076},{"127.0.0.1",10086}], ConnectedAddr: {"127.0.0.1",10066}
[{"127.0.0.1",10106}], UsefulAddrs [{"127.0.0.1",10106}]
Stats function now never returns error code.
@lordnull lordnull force-pushed the enhance/krab/cluster-realtime-rebalance-rebase-2.0 branch from dbc6585 to 5573645 Compare January 22, 2015 22:36
@lordnull
Copy link
Contributor

Force pushed so yet another pull request doesn't have to come in after a rebase.

@lordnull
Copy link
Contributor

👍 5573645

Once more with feeling.

borshop added a commit that referenced this pull request Jan 22, 2015
…lance-rebase-2.0

Enhance/krab/cluster realtime rebalance rebase 2.0

Reviewed-by: lordnull
@seancribbs
Copy link

Once more with feeling.

https://www.youtube.com/watch?v=h2vihYpsE1Y

lordnull added a commit that referenced this pull request Jan 23, 2015
@lordnull lordnull merged commit 531b995 into 2.0 Jan 23, 2015
@lordnull lordnull deleted the enhance/krab/cluster-realtime-rebalance-rebase-2.0 branch January 23, 2015 16:31
@Basho-JIRA
Copy link

According to the PR notes - #651

The PR has been reviewed and approved. Closing this issue.

_[posted via JIRA by Derek Somogyi]_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants