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

Inconsistent capability negotiation. [JIRA: RIAK-1719] #131

Open
cmeiklejohn opened this issue Aug 6, 2013 · 5 comments
Open

Inconsistent capability negotiation. [JIRA: RIAK-1719] #131

cmeiklejohn opened this issue Aug 6, 2013 · 5 comments

Comments

@cmeiklejohn
Copy link
Contributor

Must fix for 1.4 and master.

Sometimes when starting a node, capabilities negotiation doesn't happen correctly. For instance:

([email protected])1> nodes().
['[email protected]']
([email protected])2> riak_core_capability:get({riak_control, member_info_version}).
v0
([email protected])1> nodes().
['[email protected]']
([email protected])2> riak_core_capability:get({riak_control, member_info_version}).
v1

This causes one node to look like an earlier version of Riak Control and be reported as incompatible.

Here are the logs during startup:

12:15:59.133 [info] New capability: {riak_control,member_info_version} = v1
12:15:14.917 [info] New capability: {riak_control,member_info_version} = v0

Finally, two minutes later:

12:17:53.354 [info] Capability changed: {riak_control,member_info_version} / v0 -> v1
@cmeiklejohn
Copy link
Contributor Author

Tagging @rzezeski, @jtuple and @jonmeredith.

@cmeiklejohn
Copy link
Contributor Author

The node also shows as incompatible in Riak Control for a short period if it's started and then has to negotiate up to the right capability. To reproduce, start a node while watching the snapshot page of Riak Control.

@cmeiklejohn
Copy link
Contributor Author

Moving to 2.1.

@cmeiklejohn cmeiklejohn added this to the 2.1 milestone Mar 24, 2014
@DSomogyi
Copy link

Comment for Jira.

@Basho-JIRA Basho-JIRA changed the title Inconsistent capability negotiation. Inconsistent capability negotiation. [JIRA: RIAK-1719] Apr 15, 2015
@Basho-JIRA
Copy link

This needs verification, perhaps with a riak_test. I have doubts that if capabilities were really broken in this way, we wouldn't have seen this pop up more in other scenarios.

_[posted via JIRA by Sean Cribbs]_

@seancribbs seancribbs removed their assignment May 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants