Navigation Menu

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

Missing bucket type name should be logged [JIRA: RIAK-2410] #815

Open
joecaswell opened this issue Feb 24, 2016 · 0 comments
Open

Missing bucket type name should be logged [JIRA: RIAK-2410] #815

joecaswell opened this issue Feb 24, 2016 · 0 comments

Comments

@joecaswell
Copy link

When a value in a typed bucket type in a backend, but the bucket type does not exist, riak_core_bucket:get_bucket returns {error, no_type}. The resulting error message below does not show the name of the missing type. In order to fix this the operator must run a full keylist and verify every bucket type encountered.

2016-02-22 10:05:58 =ERROR REPORT====
Error in process <0.3615.0> on node 'riak@127.0.0.1' with exit value: {function_clause,[{proplists,get_value,[n_val,{error,no_type},undefined],[{file,"proplists.erl"},{line,225}]},{riak_kv_util,get_index_n,1,[{file,"src/riak_kv_util.erl"},{line,190}]},{yz_index_hashtree,'-fold_keys/2-fun-0-',2,[{file,"src/yz_index_hashtree.erl"},{line,306}]},{lists,foreach,2,[{file,"lists.erl"},{line,1323}]},{yz_entropy,iterate_entropy_data,4,[{file,"src/yz_entropy.erl"},{line,47}]},{yz_index_hashtree,'-fold_keys/2-lc$^0/1-0-',3,[{file,"src/yz_index_hashtree.erl"},{line,310}]},{yz_index_hashtree,fold_keys,2,[{file,"src/yz_index_hashtree.erl"},{line,310}]},{yz_index_hashtree,build_or_rehash,4,[{file,"src/yz_index_hashtree.erl"},{line,555}]}]}

@Basho-JIRA Basho-JIRA changed the title Missing bucket type name should be logged Missing bucket type name should be logged [JIRA: RIAK-2410] Feb 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants