Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
.master
-
None
-
Security Level: Public
-
None
-
latest .master
Description
Using the mc client in pyupr repo to request stats caused default bucket to flash into a pending state and then return to active. Looks like ns-server is restarting it after a crash.
This causes tests to fail because clients do not know to reconnect to new instance of memcached.
[error_logger:error,2013-12-17T11:01:37.595,ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:log_report:72]
=========================CRASH REPORT=========================
crasher:
initial call: erlang:apply/2
pid: <0.6863.0>
registered_name: []
exception error: no match of right hand side value
in function mc_binary:quick_stats_recv/3
in call from mc_binary:quick_stats_loop/5
in call from mc_binary:quick_stats/5
in call from ns_memcached:do_handle_call/3
in call from ns_memcached:worker_loop/3
ancestors: ['ns_memcached-default','single_bucket_sup-default',
<0.446.0>]
messages: []
links: [<0.6844.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 2584
stack_size: 24
reductions: 111104
neighbours:
[error_logger:error,2013-12-17T11:01:37.596,ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:log_msg:76]** Generic server <0.6844.0> terminating
** Last message in was {'EXIT',<0.6863.0>,{badmatch,{error,closed}
}}
-
- When Server state ==
Unknown macro: {state,1,0,0, {[],[]},
{[],[]}, {[],[]}, warmed, {1387,306873,154538}, "default",#Port<0.9917>, {interval,#Ref<0.0.0.67022>}, [{<0.6860.0>,#Ref<0.0.0.112795>}, {<0.6862.0>,#Ref<0.0.0.67039>}, {<0.6861.0>,#Ref<0.0.0.67038>}]} - Reason for termination ==
- {badmatch,
Unknown macro: {error,closed}
}
- When Server state ==
[error_logger:error,2013-12-17T11:01:37.596,ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:log_msg:76]Supervisor received unexpected message: {ack,<0.6844.0>,
{error,{badmatch,{error,closed}}}}
[error_logger:error,2013-12-17T11:01:37.598,ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:log_report:72]
=========================CRASH REPORT=========================
crasher:
initial call: ns_memcached:init/1
pid: <0.6844.0>
registered_name: []
exception exit: {badmatch,{error,closed}}
in function gen_server:init_it/6
ancestors: ['single_bucket_sup-default',<0.446.0>]
messages: []
links: [<0.6860.0>,<0.6862.0>,<0.6861.0>,<0.297.0>,<0.447.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 28657
stack_size: 24
reductions: 30786
neighbours:
neighbour: [
,
{initial_call,{erlang,apply,['Argument__1','Argument__2']}},
{current_function,{gen,do_call,4}},
{ancestors,['ns_memcached-default', 'single_bucket_sup-default',<0.446.0>]},
{messages,[]},
{links,[<0.6844.0>,#Port<0.9921>]},
{dictionary,[]},
{trap_exit,false},
{status,waiting},
{heap_size,17711},
{stack_size,24},
{reductions,1899}]
neighbour: [{pid,<0.6862.0>},
{registered_name,[]}
,
{initial_call,{erlang,apply,['Argument__1','Argument__2']}},
{current_function,{gen,do_call,4}},
{messages,[]},
{links,[<0.6844.0>,#Port<0.9920>]},
{dictionary,[]},
{trap_exit,false},
{status,waiting},
{heap_size,17711},
{stack_size,24},
{reductions,1899}]
neighbour: [{pid,<0.6860.0>},
{registered_name,[]},
{initial_call,{erlang,apply,['Argument__1','Argument__2']}},
{current_function,{gen,do_call,4}},
{ancestors,['ns_memcached-default', 'single_bucket_sup-default',<0.446.0>]}
,
,
,
,
,
,
,
,
]