Hello Everyone,

We are facing an issue where search queries works fine on my local dev box 
(which have riak-1.2.1rc2 installed).
However same queries timeout on our production boxes (which have riak-1.2.1 
installed):

QUERY:
/select?wt=json&q=to:733d5cb23129734585af7b9fe16b1bbc5daa5b5c AND tags:(message)

RESPONSE:
{error,{error,{case_clause,timeout},
              [{riak_search_client,search_doc,8},
               {riak_search_utils,run_query,7},
               {riak_solr_searcher_wm,to_json,2},
               {webmachine_resource,resource_call,3},
               {webmachine_resource,do,3},
               {webmachine_decision_core,resource_call,1},
               {webmachine_decision_core,decision,1},
               {webmachine_decision_core,handle_request,2}]}}
Here are the logs as seen inside riak error.log file:

2012-12-05 14:49:59.777 [error] <0.1035.0>@mi_server:handle_info:524 
lookup/range failure: 
{{badfun,#Fun<riak_search_client.9.56347389>},[{mi_server,iterate,6},{mi_server,lookup,8}]}
2012-12-05 14:49:59.777 [error] emulator Error in process <0.17345.11> on node 
'[email protected]' with exit value: 
{{badfun,#Fun<riak_search_client.9.56347389>},[{mi_server,iterate,6},{mi_server,lookup,8}]}
2012-12-05 14:50:58.321 [error] <0.15946.11> webmachine error: 
path="/solr/ejabberd_doc/select"
{error,{error,{case_clause,timeout},[{riak_search_client,search_doc,8},{riak_search_utils,run_query,7},{riak_solr_searcher_wm,to_json,2},{webmachine_resource,resource_call,3},{webmachine_resource,do,3},{webmachine_decision_core,resource_call,1},{webmachine_decision_core,decision,1},{webmachine_decision_core,handle_request,2}]}}

This query does succeed sometimes (1-5%), but fails most of the times.
I want to know if the above logs indicate towards a particular error with our 
riak cluster?

Since this query has never failed on my local development box, 
I suspect either it has to do with something that changed between 1.2.1rc2 and 
1.2.1-stable release or something that is related to our production riak 
cluster.

Feedback and help is greatly appreciated. Thanks in advance.

--
Abhinav Singh
http://abhinavsingh.com/
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to