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

Function Clause Error in yz_entropy [JIRA: RIAK-2068] #324

Closed
rzezeski opened this issue Feb 26, 2014 · 1 comment
Closed

Function Clause Error in yz_entropy [JIRA: RIAK-2068] #324

rzezeski opened this issue Feb 26, 2014 · 1 comment
Assignees
Milestone

Comments

@rzezeski
Copy link
Contributor

There seems to be a missing function head in yz_entropy when
iterating tree data. It looks like it can't deal with request
timeouts. It shouldn't be the end of the world if the tree builder
crashes because of this error as it will just be retried later but
might me good to retry the request or fail with a better message
(remember it's okay to fail in Erlang).

Here is a copy of the message from basho/riak_kv#854. The last message
is the issue. I do not believe any of the previous messages are
related.

2014-02-21 17:19:12.289 [error] <0.781.0> gen_server <0.781.0> terminated with reason: bad argument in call to erlang:byte_size({r_object,<<"IPDB">>,<<65,1,1,0>>,[{r_content,{dict,5,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],...},...},...}],...}) in riak_kv_index_hashtree:maybe_throttle_build/4 line 460
2014-02-21 17:19:12.289 [error] <0.781.0> CRASH REPORT Process <0.781.0> with 0 neighbours exited with reason: bad argument in call to erlang:byte_size({r_object,<<"IPDB">>,<<65,1,1,0>>,[{r_content,{dict,5,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],...},...},...}],...}) in riak_kv_index_hashtree:maybe_throttle_build/4 line 460 in gen_server:terminate/6 line 744
2014-02-21 17:19:12.289 [error] <0.773.0> Supervisor {<0.773.0>,poolboy_sup} had child riak_core_vnode_worker started with {riak_core_vnode_worker,start_link,undefined} at <0.781.0> exit with reason bad argument in call to erlang:byte_size({r_object,<<"IPDB">>,<<65,1,1,0>>,[{r_content,{dict,5,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],...},...},...}],...}) in riak_kv_index_hashtree:maybe_throttle_build/4 line 460 in context child_terminated
2014-02-21 17:20:02.239 [error] emulator Error in process <0.21517.375> on node 'riak@altostratus.fabric' with exit value: {function_clause,[{yz_entropy,iterate_entropy_data,[<<3 bytes>>,[{continuation,none},{limit,100},{partition,6}],#Fun<yz_index_hashtree.5.14605823>,{error,{error,req_timedout}}],[{file,"src/yz_entropy.erl"},{line,44}]},{yz_index_hashtree,'-fold_keys/2-lc$^0/1-0-',3,[{...
@rzezeski rzezeski modified the milestones: 1.0.0, 1.0+ Feb 26, 2014
@rzezeski rzezeski modified the milestones: 2.0.1, 1.0+ Mar 22, 2014
@DSomogyi
Copy link

Comment for Jira.

@Basho-JIRA Basho-JIRA changed the title Function Clause Error in yz_entropy Function Clause Error in yz_entropy [JIRA: RIAK-1699] Apr 14, 2015
@Basho-JIRA Basho-JIRA assigned jonmeredith and unassigned seancribbs May 7, 2015
@zeeshanlakhani zeeshanlakhani changed the title Function Clause Error in yz_entropy [JIRA: RIAK-1699] Function Clause Error in yz_entropy [JIRA: RIAK-2068] Jul 31, 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

6 participants