Details
Description
Rebalance fails when creating/querying views during rebalance
Steps to reproduce:
-Install CB build#1453 with 1024 vbuckets
-Load 1000 json docs
-Add 3 nodes
-Start Rebalance
-During rebalance create multiple ddocs/views and query each view after creating
View query is successful for 1 ddoc, 3 views. Create one more ddoc, view. Query the view. Below error is shown:
{
"from": "local",
"reason": "{db_open_error,<<\"default/86\">>,\n
\">>}"
}
and rebalance fails.
Below error and crash report can be seen in the diagnostics:
[couchdb:info] [2012-07-16 12:43:06] [ns_1@10.1.3.67:<0.16904.0>:couch_log:error:42] couch_set_view_group error opening set view group `_design/dev_d2`, signature `04d345dec1a08b712cb0271b8c0eb3b3', from set `d
efault`: {error,
{db_open_error,
<<"default/86">>,
,
<<"Couldn't open database `default/86`, reason:
}
[error_logger:error] [2012-07-16 12:43:06] [ns_1@10.1.3.67:error_logger:ale_error_logger_handler:log_report:72]
=========================CRASH REPORT=========================
crasher:
initial call: couch_set_view_group:init/1
pid: <0.16904.0>
registered_name: []
exception exit: {error,
{db_open_error,<<"default/86">>,
{not_found,no_db_file}
,
<<"Couldn't open database `default/86`, reason:
">>}}
in function couch_set_view_group:init/1
ancestors: [<0.16903.0>]
messages: []
links: [<0.16903.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 4181
stack_size: 24
reductions: 6913
neighbours:
Diagnostics are attached.