exception error: no match of right hand side value not_present in function couch_stats_reader:init/1 (src/couch_stats_reader.erl, line 64)

67 views
Skip to first unread message

amit...@gmail.com

unread,
Feb 6, 2017, 12:06:43 AM2/6/17
to Couchbase

Hello Everyone, 


I am observing the following error in couchbase report.log. Can anyone help me understand what this error is what is the problem here if there is one. I have also observed lot of crash report getting generated when I stop the couchbase. Even when I start I see some crash reports related to compaction. Could you please help me understand this behaviour.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Supervisor:

{local,ns_server_sup}

Context: child_terminated
Reason: {badarith,
[{base_stats_collector,calculate_counters,5,
[

{file,"src/base_stats_collector.erl"},{line,157}]},
{query_stats_collector,process_stats,5,
[{file,"src/query_stats_collector.erl"},{line,121}]},
{base_stats_collector,handle_info,2,
[{file,"src/base_stats_collector.erl"}

,

{line,95}

]},
{gen_server,handle_msg,5,
[

{file,"gen_server.erl"}

,

{line,604}

]},
{proc_lib,init_p_do_apply,3,
[

{file,"proc_lib.erl"}

,

{line,239}

]}]}
Offender: [

{pid,<0.345.0>}

,

{name,query_stats_collector}

,
{mfargs,{query_stats_collector,start_link,[]}},

{restart_type,permanent}

,

{shutdown,1000}

,

{child_type,worker}

]
... (about an hour later couchbase lost all of it's contents)
...
crasher:
initial call: misc:turn_into_gen_server/4
pid: <11444.1471.0>
registered_name: 'couch_stats_reader-abc_def_xyz'
exception error: no match of right hand side value not_present
in function couch_stats_reader:init/1 (src/couch_stats_reader.erl, line 
64)
in call from misc:turn_into_gen_server/4 (src/misc.erl, line 608)
ancestors: [<0.3791.0>,'single_bucket_kv_sup-abc_def_xyz',
ns_bucket_sup,ns_bucket_worker_sup,ns_server_sup,
ns_server_nodes_sup,<0.152.0>,ns_server_cluster_sup,
<0.88.0>]
...
[error_logger:error,2017-01-
17T18:08:17.584Z,ns...@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:do
_log:203]** Generic 
server ns_bucket_worker 
terminating

    • Last message in was {'$gen_cast',#Fun<ns_bucket_sup.0.76767414>}
    • When Server state == []
    • Reason for termination ==
    • {{badmatch,
      {error,
      {{shutdown,
      {failed_to_start_child,
      {docs_kv_sup,"abc_def_xyz"}

      ,
      {shutdown,
      {failed_to_start_child,couch_stats_reader,

      {badmatch,not_present}

      }}}},
      ...
      etc.


Reply all
Reply to author
Forward
0 new messages