Hello,
We are currently running Couchbase Version: 4.5.1-2844 Community Edition and facing the problem many times Per Day were N1QL stop responding.
When the issue appears the N1QL queries never returns back without Couchbase restart. After Couchbase restart i have found below two logs in Couchbase log:
1). *******************************************************
Compactor for view builderCycleNew/_design/sync_housekeeping
(pid [{type,
view},
{name,
<<“builderCycleNew/_design/sync_housekeeping”>>},
{important,
false},
{fa,
{#Fun<compaction_new_daemon.25.102846360>,
[<<“builderCycleNew”>>,
<<"_design/sync_housekeeping">>,
{config,
{30,
undefined},
{30,
undefined},
undefined,
false,
false,
{daemon_config,
30,
131072,
20971520}},
false,
{[{type,
bucket}]}]}}]) terminated unexpectedly (ignoring this): {badmatch,
{error,
{{case_clause,
{{error,
vbucket_stream_not_found},
{bufsocket,
#Port<11584.10107>,
<<>>}}},
[{couch_dcp_client,
init,
1,
[{file,
“/home/couchbase/jenkins/workspace/watson-unix/couchdb/src/couch_dcp/src/couch_dcp_client.erl”},
{line,
299}]},
{gen_server,
init_it,
6,
[{file,
“gen_server.erl”},
{line,
304}]},
{proc_lib,
init_p_do_apply,
3,
[{file,
“proc_lib.erl”},
{line,
239}]}]}}}
2). **********************************************************************
Compactor for view mapreduce_view/builderCycleNew/_design/sync_housekeeping/main
(pid [{type,
view},
{important,
true},
{name,
<<“mapreduce_view/builderCycleNew/_design/sync_housekeeping/main”>>},
{fa,
{#Fun<compaction_new_daemon.23.102846360>,
[<<“builderCycleNew”>>,
<<"_design/sync_housekeeping">>,
mapreduce_view,
main,
{config,
{30,
undefined},
{30,
undefined},
undefined,
false,
false,
{daemon_config,
30,
131072,
20971520}},
false,
{[{type,
bucket}]}]}}]) terminated unexpectedly: {badmatch,
{error,
{{case_clause,
{{error,
vbucket_stream_not_found},
{bufsocket,
#Port<11584.10107>,
<<>>}}},
[{couch_dcp_client,
init,
1,
[{file,
“/home/couchbase/jenkins/workspace/watson-unix/couchdb/src/couch_dcp/src/couch_dcp_client.erl”},
{line,
299}]},
{gen_server,
init_it,
6,
[{file,
“gen_server.erl”},
{line,
304}]},
{proc_lib,
init_p_do_apply,
3,
[{file,
“proc_lib.erl”},
{line,
239}]}]}}}