-
Notifications
You must be signed in to change notification settings - Fork 236
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
Never call hd/1
in riak_object:most_recent_content/1
with the empty list [JIRA: RIAK-1743]
#1069
Comments
We're actually seeing this same error.. One key appears to be the culprit... It's crashing in initialcall: riak_kv_Get_fsm:init/1 Which is awesome, in that the request actually then times out... Any ideas as to a clean way to patch this in the meantime, either delete the key by hand, or something else. |
@Boardom any chance I can see this data item? You can sanitize the content/key as you see fit, but if I could see the vclock it would be really valuable for me to diagnose the root cause. You'd need to get each key straight from it's vnode, rather than via the API. If you're willing to do this let me know, and I'll link a snippet you can run on an attached riak node to get this data for me. |
Sure man, no problems. Shoot me the snippet On Mon, Jan 12, 2015 at 12:41 PM, Russell Brown notifications@github.com
|
@Boardom if you attach to a node with
then run https://gist.github.com/russelldb/0b11fbcea1c6f618d2f5 you well get 3 copies of the object output on the console. If you don't want to paste them here, feel free to email me russelldb@basho.com |
Comment for Jira. |
hd/1
in riak_object:most_recent_content/1
with the empty listhd/1
in riak_object:most_recent_content/1
with the empty list [JIRA: RIAK-1743]
Current research shows this to be an issue with conflicting bucket properties.
and an indexing backend ( Work around is just to set |
Advisory issued. Need to add bucket validation and fixup to make sure users can't do this by accident in the future. _[posted via JIRA by Douglas Rohrer]_ |
Assigned Fred per the Riak Social / Mumble _[posted via JIRA by Patricia Brewer]_ |
Seems the assignment of Fred did not take and this was still assigned to me. Fixed it. [~fdushin] _[posted via JIRA by Patricia Brewer]_ |
This was reviewed by [~fdushin], [~jmeredith] for the 2.0 merge, and by [~drohrer] for the 2.1 merge. _[posted via JIRA by Fred Dushin]_ |
Reported here http://lists.basho.com/pipermail/riak-users_lists.basho.com/2014-December/016459.html
Some merge/reconcile bug is causing the empty list to be passed to
hd
, probably passed tomost_recent_content
in fact. Investigate the cause. Add a guard earlier to catch the error sooner.Settings are LWW=true, allow_mult=false.
The text was updated successfully, but these errors were encountered: