Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: 2.0-beta
-
Component/s: couchbase-bucket, ns_server, view-engine
-
Security Level: Public
-
Labels:None
Description
ran a very basic test - load 1M items , create a view , run some queries and then enable flush_all , call flush_all on one node
then saw that views dont seem to work after this and got many errors related to memcached connection to mccouch as well
[error_logger:error] [2012-08-02 20:06:19] [n_0@127.0.0.1:error_logger:ale_error_logger_handler:log_report:72]
=========================CRASH REPORT=========================
crasher:
initial call: mc_connection:init/1
pid: <0.4243.3>
registered_name: []
exception exit: unsupported
in function mc_connection:just_process_message/7 (src/mc_connection.erl, line 140)
in call from mc_connection:handle_message/9 (src/mc_connection.erl, line 143)
in call from mc_connection:read_full_message/2 (src/mc_connection.erl, line 154)
in call from mc_connection:run_loop/2 (src/mc_connection.erl, line 186)
ancestors: [mc_conn_sup,mc_sup,ns_server_sup,ns_server_cluster_sup,
<0.59.0>]
messages: []
links: [<0.10565.0>,#Port<0.185762>]
dictionary: []
trap_exit: false
status: running
heap_size: 610
stack_size: 24
reductions: 752
neighbours:
[error_logger:error] [2012-08-02 20:06:19] [n_0@127.0.0.1:error_logger:ale_error_logger_handler:log_report:72]
=========================SUPERVISOR REPORT=========================
Supervisor: {local,mc_conn_sup}
Context: child_terminated
Reason: unsupported
Offender: [{pid,<0.4243.3>},
{name,mc_connection},
{mfargs,{mc_connection,start_link,undefined}},
{restart_type,temporary},
{shutdown,brutal_kill},
{child_type,worker}]
[error_logger:error] [2012-08-02 20:06:19] [n_0@127.0.0.1:error_logger:ale_error_logger_handler:log_report:72]
=========================CRASH REPORT=========================
crasher:
initial call: mc_connection:init/1
pid: <0.4244.3>
registered_name: []
exception exit: unsupported
in function mc_connection:just_process_message/7 (src/mc_connection.erl, line 140)
in call from mc_connection:handle_message/9 (src/mc_connection.erl, line 143)
in call from mc_connection:read_full_message/2 (src/mc_connection.erl, line 154)
in call from mc_connection:run_loop/2 (src/mc_connection.erl, line 186)
ancestors: [mc_conn_sup,mc_sup,ns_server_sup,ns_server_cluster_sup,
<0.59.0>]
messages: []
links: [<0.10565.0>,#Port<0.185763>]
dictionary: []
trap_exit: false
status: running
heap_size: 610
stack_size: 24
reductions: 752
neighbours:
[error_logger:error] [2012-08-02 20:06:19] [n_0@127.0.0.1:error_logger:ale_error_logger_handler:log_report:72]
=========================SUPERVISOR REPORT=========================
Supervisor: {local,mc_conn_sup}
Context: child_terminated
Reason: unsupported
Offender: [{pid,<0.4244.3>},
{name,mc_connection},
{mfargs,{mc_connection,start_link,undefined}},
{restart_type,temporary},
{shutdown,brutal_kill},
{child_type,worker}]
[ns_server:info] [2012-08-02 20:06:19] [n_0@127.0.0.1:ns_port_memcached:ns_port_server:log:169] memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
the first set of diags are related to that
then i did restart memcached on that node and things looked better after that.
this test was run only on a single node. I think things will look worse on a cluster.
then saw that views dont seem to work after this and got many errors related to memcached connection to mccouch as well
[error_logger:error] [2012-08-02 20:06:19] [n_0@127.0.0.1:error_logger:ale_error_logger_handler:log_report:72]
=========================CRASH REPORT=========================
crasher:
initial call: mc_connection:init/1
pid: <0.4243.3>
registered_name: []
exception exit: unsupported
in function mc_connection:just_process_message/7 (src/mc_connection.erl, line 140)
in call from mc_connection:handle_message/9 (src/mc_connection.erl, line 143)
in call from mc_connection:read_full_message/2 (src/mc_connection.erl, line 154)
in call from mc_connection:run_loop/2 (src/mc_connection.erl, line 186)
ancestors: [mc_conn_sup,mc_sup,ns_server_sup,ns_server_cluster_sup,
<0.59.0>]
messages: []
links: [<0.10565.0>,#Port<0.185762>]
dictionary: []
trap_exit: false
status: running
heap_size: 610
stack_size: 24
reductions: 752
neighbours:
[error_logger:error] [2012-08-02 20:06:19] [n_0@127.0.0.1:error_logger:ale_error_logger_handler:log_report:72]
=========================SUPERVISOR REPORT=========================
Supervisor: {local,mc_conn_sup}
Context: child_terminated
Reason: unsupported
Offender: [{pid,<0.4243.3>},
{name,mc_connection},
{mfargs,{mc_connection,start_link,undefined}},
{restart_type,temporary},
{shutdown,brutal_kill},
{child_type,worker}]
[error_logger:error] [2012-08-02 20:06:19] [n_0@127.0.0.1:error_logger:ale_error_logger_handler:log_report:72]
=========================CRASH REPORT=========================
crasher:
initial call: mc_connection:init/1
pid: <0.4244.3>
registered_name: []
exception exit: unsupported
in function mc_connection:just_process_message/7 (src/mc_connection.erl, line 140)
in call from mc_connection:handle_message/9 (src/mc_connection.erl, line 143)
in call from mc_connection:read_full_message/2 (src/mc_connection.erl, line 154)
in call from mc_connection:run_loop/2 (src/mc_connection.erl, line 186)
ancestors: [mc_conn_sup,mc_sup,ns_server_sup,ns_server_cluster_sup,
<0.59.0>]
messages: []
links: [<0.10565.0>,#Port<0.185763>]
dictionary: []
trap_exit: false
status: running
heap_size: 610
stack_size: 24
reductions: 752
neighbours:
[error_logger:error] [2012-08-02 20:06:19] [n_0@127.0.0.1:error_logger:ale_error_logger_handler:log_report:72]
=========================SUPERVISOR REPORT=========================
Supervisor: {local,mc_conn_sup}
Context: child_terminated
Reason: unsupported
Offender: [{pid,<0.4244.3>},
{name,mc_connection},
{mfargs,{mc_connection,start_link,undefined}},
{restart_type,temporary},
{shutdown,brutal_kill},
{child_type,worker}]
[ns_server:info] [2012-08-02 20:06:19] [n_0@127.0.0.1:ns_port_memcached:ns_port_server:log:169] memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
memcached<0.10572.0>: Connection closed by mccouch
memcached<0.10572.0>: Trying to connect to mccouch: "localhost:13000"
memcached<0.10572.0>: Connected to mccouch: "localhost:13000"
the first set of diags are related to that
then i did restart memcached on that node and things looked better after that.
this test was run only on a single node. I think things will look worse on a cluster.
please do not close this bug as a dupe or won't fix until this specific use case mentioned here which was reproduced on the latest build is fixed.