Everyone can reply for me. Thanks for any advice.<br><br><div class="gmail_quote">2013/1/22 郎咸武 <span dir="ltr"><<a href="mailto:langxianzhe@gmail.com" target="_blank">langxianzhe@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi all</div><div><br></div><div><span style="color:rgb(81,81,81);font-family:titillium,verdana,arial,sans-serif;font-size:16px;line-height:23px;background-color:rgb(234,234,234)">The default value of 100,000 can be custom tuned with the </span><code style="font-family:monospace,serif;font-size:14px;background-color:rgb(223,223,223);padding:0px 3px;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border:1px solid rgb(201,201,201);white-space:nowrap;color:rgb(81,81,81)">max_search_results</code><span style="color:rgb(81,81,81);font-family:titillium,verdana,arial,sans-serif;font-size:16px;line-height:23px;background-color:rgb(234,234,234)"> setting in the </span><code style="font-family:monospace,serif;font-size:14px;background-color:rgb(223,223,223);padding:0px 3px;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;border:1px solid rgb(201,201,201);white-space:nowrap;color:rgb(81,81,81)">etc/app.config</code><span style="color:rgb(81,81,81);font-family:titillium,verdana,arial,sans-serif;font-size:16px;line-height:23px;background-color:rgb(234,234,234)"> file.</span></div>

<div><span style="color:rgb(81,81,81);font-family:titillium,verdana,arial,sans-serif;font-size:16px;line-height:23px;background-color:rgb(234,234,234)"><br></span></div><div>I using the default value. There are 1,000,000 K/V. I only invoke riakc_pb_socket:search(Pid, Bucket, "name:u1*")[1] when  the node shutdown[2]. </div>

<div>The error is an obvious out of the default value.</div><div>But the node is showdown. This is really out of my expectation.</div><div><br></div><div>Is this a bug?</div><div>Who can give me  some advice?</div><div><br>

</div><div>Cheers ,Jason </div><div><br></div><div><br></div><div>The enviroment:</div><div>Erlang R14B04 (erts-5.8.5) </div><div>FreeBSD meda082 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012  </div><div>

riak1.2</div><div>riakclint 1.3</div><div><br></div><div><div>[1]{error,<<"Error processing incoming message: throw:{too_many_results,\n                                          {scope"...>>}</div></div>

<div><br></div><div>[2]</div><div>(<a href="mailto:riak@127.0.0.1" target="_blank">riak@127.0.0.1</a>)1> 17:03:55.626 [error] gen_server <0.2736.0> terminated with reason: {throw,{too_many_results,{scope,#Ref<0.0.0.8359>,"test_riak_json</div>

<div>","value",{scope,#Ref<0.0.0.8358>,undefined,"name",{range_sized,#Ref<0.0.0.8362>,{inclusive,<<"u1">>},{inclusive,<<"u1\377">>},all,undefined}}}},[{ria</div>

<div>k_search_client,'-search/7-fun-0-',4},{riak_search_client,fold_results,5},{riak_search_client,search,8},{riak_search_client,search_doc,8},{riak_search</div><div>_utils,run_query,7},{riak_search_pb_query,run_query,7},{riak_search_pb_query,process,2},{riak_api_pb_server,process_message,4}]}^M^M</div>

<div>17:03:55.643 [error] CRASH REPORT Process <0.2736.0> with 1 neighbours exited with reason: {throw,{too_many_results,{scope,#Ref<0.0.0.8359>,"test_riak</div><div>_json","value",{scope,#Ref<0.0.0.8358>,undefined,"name",{range_sized,#Ref<0.0.0.8362>,{inclusive,<<"u1">>},{inclusive,<<"u1\377">>},all,undefined}}}},</div>

<div>[{riak_search_client,'-search/7-fun-0-',4},{riak_search_client,fold_results,5},{riak_search_client,search,8},{riak_search_client,search_doc,8},{riak_s</div><div>earch_utils,run_query,7},{riak_search_pb_query,run_query,7},{riak_search_pb_query,process,2},{riak_api_pb_server,process_message,4}]} in gen_server:te</div>

<div>rminate/6^M^M</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div><br></div>-- <br>只为成功找方法,不为失败找理由
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>只为成功找方法,不为失败找理由