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

Add extra details to vnodeid warning for KV679 [JIRA: RIAK-2375] #1344

Merged
merged 1 commit into from Feb 9, 2016

Conversation

russelldb
Copy link
Member

And downgrade the level to warn from error since the per-key-epoch code
stops this from being an error, merely a warning that something is
rotten in Denmark

And downgrade the level to warn from error since the per-key-epoch code
stops this from being an error, merely a warning that something is
rotten in Denmark
@jonmeredith
Copy link
Contributor

Reviewing - was just looking for tests.

Should https://github.com/basho/riak_test/commits/bug/rdb/gh679 have been merged as part of KV679 work, or was it just a demonstration?

@jonmeredith
Copy link
Contributor

Confirmed log message with some local trickery fudging an object.

(riak@127.0.0.1)10> O2.                                                   
{r_object,<<"b">>,<<"k">>,
          [{r_content,{dict,3,16,16,8,80,48,
                            {[],[],[],[],[],[],[],[],[],[],[],[],[],[],...},
                            {{[],[],[],[],[],[],[],[],[],[],[[...]],[...],...}}},
                      <<"v2">>}],
          [{<<35,9,254,249,47,27,175,47,0,0,117,49>>,{2,63622253829}}],
          {dict,1,16,16,8,80,48,
                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],...},
                {{[],[],[],[],[],[],[],[],[],[],[],[],[],...}}},
          <<"v3">>}
(riak@127.0.0.1)11> riak_object:vclock(O2).
[{<<35,9,254,249,47,27,175,47,0,0,117,49>>,{2,63622253829}}]
(riak@127.0.0.1)12> O3 = riak_object:set_vclock(O2, [{<<35,9,254,249,47,27,175,47,1,0,117,49>>,{1,63622253829}}]).
{r_object,<<"b">>,<<"k">>,
          [{r_content,{dict,3,16,16,8,80,48,
                            {[],[],[],[],[],[],[],[],[],[],[],[],[],[],...},
                            {{[],[],[],[],[],[],[],[],[],[],[[...]],[...],...}}},
                      <<"v2">>}],
          [{<<35,9,254,249,47,27,175,47,1,0,117,49>>,{1,63622253829}}],
          {dict,1,16,16,8,80,48,
                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],...},
                {{[],[],[],[],[],[],[],[],[],[],[],[],[],...}}},
          <<"v3">>}
(riak@127.0.0.1)13> C:put(O3).
2016-02-09 09:26:01.354 [warning] <0.967.0>@riak_kv_vnode:maybe_new_key_epoch:2586 Inbound clock entry for <<"#\tþù/\e¯/">> in <<"b">>/<<"k">> greater than local.Epochs: {In:16807217 Local:30001}. Counters: {In:1 Local:4}.

@jonmeredith
Copy link
Contributor

+1 9083bdc

borshop added a commit that referenced this pull request Feb 9, 2016
Add counter and epoch data to kv679 log message

Reviewed-by: jonmeredith
@jonmeredith
Copy link
Contributor

@borshop merge

@jonmeredith
Copy link
Contributor

create jira issue

@Basho-JIRA Basho-JIRA changed the title Add counter and epoch data to kv679 log message Review submitted PR [JIRA: RIAK-2375] Feb 9, 2016
@cmeiklejohn
Copy link
Contributor

Was that a comment for jira?

@JeetKunDoug JeetKunDoug changed the title Review submitted PR [JIRA: RIAK-2375] Add counter and epoch data to kv679 log message [JIRA: RIAK-2375] Feb 9, 2016
@jonmeredith jonmeredith changed the title Add counter and epoch data to kv679 log message [JIRA: RIAK-2375] Add extra details to vnodeid warning for KV679 [JIRA: RIAK-2375] Feb 9, 2016
@borshop borshop merged commit 9083bdc into 2.1 Feb 9, 2016
@jonmeredith
Copy link
Contributor

Yes - release tracking stuff. Got ideas about it's station and renamed this PR. Silly JIRA.

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.

None yet

5 participants