Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.0-developer-preview-3
-
Fix Version/s: 2.0-developer-preview-4
-
Component/s: ns_server, view-engine
-
Security Level: Public
-
Labels:
Description
steps to reproduce
start cluster_run -n4
run mcsodea
python pytests/performance/mcsoda.py memcached-binary://127.0.0.1:12001 json=1 doc-gen=0 doc-cache=0 max-items=10000
when the load is running rebalance in a new node and then modify the view during rebalance
log is also attached
start cluster_run -n4
run mcsodea
python pytests/performance/mcsoda.py memcached-binary://127.0.0.1:12001 json=1 doc-gen=0 doc-cache=0 max-items=10000
when the load is running rebalance in a new node and then modify the view during rebalance
log is also attached
-
Hide
- log-1-15.zip
- 11/Jan/12 3:16 PM
- 1.56 MB
- Farshid Ghods
-
- logs/n_0/errors.1 401 kB
- logs/n_0/errors.idx 0.0 kB
- logs/n_0/errors.siz 0.0 kB
- logs/n_0/log.1 9.99 MB
- logs/n_0/log.2 2.54 MB
- logs/n_0/log.idx 0.0 kB
- logs/n_0/log.siz 0.0 kB
- logs/n_1/errors.1 41 kB
- logs/n_1/errors.idx 0.0 kB
- logs/n_1/errors.siz 0.0 kB
- logs/n_1/log.1 2.87 MB
- logs/n_1/log.idx 0.0 kB
- logs/n_1/log.siz 0.0 kB
- logs/n_2/errors.1 102 kB
- logs/n_2/errors.idx 0.0 kB
- logs/n_2/errors.siz 0.0 kB
- logs/n_2/log.1 5.18 MB
- logs/n_2/log.idx 0.0 kB
- logs/n_2/log.siz 0.0 kB
- logs/n_3/errors.1 181 kB
- logs/n_3/errors.idx 0.0 kB
- logs/n_3/errors.siz 0.0 kB
- logs/n_3/log.1 6.20 MB
- logs/n_3/log.idx 0.0 kB
- logs/n_3/log.siz 0.0 kB
Activity
- All
- Comments
- Work Log
- History
- Activity
- Gerrit Reviews
Hide
Filipe Manana
added a comment -
That seems to be caused by another error that precedes it.
This other error was corrected in the following commit:
https://github.com/couchbase/couchdb/commit/75a904c093e89d12bec86f3f46b390a30e6ba27f
(merged today some hours ago)
This other error was corrected in the following commit:
https://github.com/couchbase/couchdb/commit/75a904c093e89d12bec86f3f46b390a30e6ba27f
(merged today some hours ago)
Show
Filipe Manana
added a comment - That seems to be caused by another error that precedes it.
This other error was corrected in the following commit:
https://github.com/couchbase/couchdb/commit/75a904c093e89d12bec86f3f46b390a30e6ba27f
(merged today some hours ago)
Hide
Farshid Ghods
added a comment -
"error":"{{nocatch,shutdown},\n [{couch_set_view,get_group,3},\n {couch_set_view,get_map_view,5},\n {couch_view_merger,prepare_set_view,4},\n {couch_view_merger,map_set_view_folder,5}]}","reason":"{gen_server,call,[<0.19415.5>,pop,infinity]}"}
[error_logger:error] [2012-01-11 13:15:26] [n_3@10.17.11.108:error_logger:ale_error_logger_handler:log_report:72]
=========================SUPERVISOR REPORT=========================
Supervisor: {local,couch_secondary_services}
Context: child_terminated
Reason: {function_clause,
[{couch_set_view,handle_info,
[{'DOWN',#Ref<0.0.195.244933>,process,<0.492.6>,
{badmatch,
{error,
{{badmatch,{not_found,no_db_file}},
[{couch_db_set,'-init/1-fun-0-',4},
{lists,foldl,3},
{couch_db_set,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}}},
{server,
"/space/repo/couchbase-2.0/ns_server/couch/3",
[error_logger:error] [2012-01-11 13:15:26] [n_3@10.17.11.108:error_logger:ale_error_logger_handler:log_report:72]
=========================SUPERVISOR REPORT=========================
Supervisor: {local,couch_secondary_services}
Context: child_terminated
Reason: {function_clause,
[{couch_set_view,handle_info,
[{'DOWN',#Ref<0.0.195.244933>,process,<0.492.6>,
{badmatch,
{error,
{{badmatch,{not_found,no_db_file}},
[{couch_db_set,'-init/1-fun-0-',4},
{lists,foldl,3},
{couch_db_set,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}}},
{server,
"/space/repo/couchbase-2.0/ns_server/couch/3",
Show
Farshid Ghods
added a comment - "error":"{{nocatch,shutdown},\n [{couch_set_view,get_group,3},\n {couch_set_view,get_map_view,5},\n {couch_view_merger,prepare_set_view,4},\n {couch_view_merger,map_set_view_folder,5}]}","reason":"{gen_server,call,[<0.19415.5>,pop,infinity]}"}
[error_logger:error] [2012-01-11 13:15:26] [ n_3@10.17.11.108 :error_logger:ale_error_logger_handler:log_report:72]
=========================SUPERVISOR REPORT=========================
Supervisor: {local,couch_secondary_services}
Context: child_terminated
Reason: {function_clause,
[{couch_set_view,handle_info,
[{'DOWN',#Ref<0.0.195.244933>,process,<0.492.6>,
{badmatch,
{error,
{{badmatch,{not_found,no_db_file}},
[{couch_db_set,'-init/1-fun-0-',4},
{lists,foldl,3},
{couch_db_set,init,1},
{gen_server,init_it,6},
{proc_lib,init_p_do_apply,3}]}}}},
{server,
"/space/repo/couchbase-2.0/ns_server/couch/3",
I just improved the error handling for these cases, to ensure the caller (ns_server) always gets a reply (instead of hanging) and a more helpful error/message like for e.g.:
{db_open_error,
<<"default/0">>,
{not_found,no_db_file},
<<"Couldn't open database `default/0`, reason: {not_found,no_db_file}">>},
The gerrit change: http://review.couchbase.org/#change,12600