Description
steps:
1. create 1 default and 2 sasl buckets on node 1.8.0r-55, load some items in buckets
2. add another node into cluster
3. upgrade all node consequentially
result: after upgrade all cluster contains empty buckets
test to reproduce:
testrunner -i INI_FILE.ini -t upgradetests.MultipleNodeUpgradeTests.test_upgrade,initial_version=1.8.0r-55,create_buckets=True,load_ratio=4,insert_data=True,start_upgraded_first=True,online_upgrade=False -p version=2.0.0-1810-rel
logs are attached
[ns_server:debug,2012-10-08T3:53:18.305,ns_1@10.3.1.10:'couch_stats_reader-default':couch_stats_reader:vbuckets_aggregation_loop:117]Failed to open vbucket: 0 (
{not_found,no_db_file}). Ignoring[ns_server:debug,2012-10-08T3:53:18.306,ns_1@10.3.1.10:'couch_stats_reader-default':couch_stats_reader:vbuckets_aggregation_loop:117]Failed to open vbucket: 1 ({not_found,no_db_file}
). Ignoring
[ns_server:debug,2012-10-08T3:53:18.306,ns_1@10.3.1.10:'couch_stats_reader-default':couch_stats_reader:vbuckets_aggregation_loop:117]Failed to open vbucket: 2 (
[ns_server:debug,2012-10-08T3:53:18.306,ns_1@10.3.1.10:'couch_stats_reader-default':couch_stats_reader:vbuckets_aggregation_loop:117]Failed to open vbucket: 3 ({not_found,no_db_file}
). Ignoring
[ns_server:debug,2012-10-08T3:53:18.309,ns_1@10.3.1.10:<0.721.0>:ns_pubsub:do_subscribe_link:120]Started subscription
[ns_server:debug,2012-10-08T3:53:18.309,ns_1@10.3.1.10:'couch_stats_reader-default':couch_stats_reader:vbuckets_aggregation_loop:117]Failed to open vbucket: 4 (
{not_found,no_db_file}). Ignoring[ns_server:debug,2012-10-08T3:53:18.309,ns_1@10.3.1.10:<0.723.0>:ns_pubsub:do_subscribe_link:120]Started subscription {ns_stats_event,<0.722.0>}
[error_logger:info,2012-10-08T3:53:18.309,ns_1@10.3.1.10:error_logger:ale_error_logger_handler:log_report:72]
=========================PROGRESS REPORT=========================
supervisor: {local,'single_bucket_sup-default'}
started: [{pid,<0.720.0>},
{name,{stats_collector,"default"}},
{mfargs,{stats_collector,start_link,["default"]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]
[ns_server:debug,2012-10-08T3:53:18.310,ns_1@10.3.1.10:'couch_stats_reader-default':couch_stats_reader:vbuckets_aggregation_loop:117]Failed to open vbucket: 5 ({not_found,no_db_file}
). Ignoring
[error_logger:info,2012-10-08T3:53:18.310,ns_1@10.3.1.10:error_logger:ale_error_logger_handler:log_report:72]
=========================PROGRESS REPORT=========================
supervisor:
started: [{pid,<0.722.0>},
{name,{stats_archiver,"default"}},
{mfargs,{stats_archiver,start_link,["default"]}},
{restart_type,permanent},
{shutdown,1000},
{child_type,worker}]
[ns_server:debug,2012-10-08T3:53:18.310,ns_1@10.3.1.10:'couch_stats_reader-default':couch_stats_reader:vbuckets_aggregation_loop:117]Failed to open vbucket: 6 ({not_found,no_db_file}). Ignoring
[error_logger:info,2012-10-08T3:53:18.310,ns_1@10.3.1.10:error_logger:ale_error_logger_handler:log_report:72]
=========================PROGRESS REPORT=========================
supervisor: {local,'single_bucket_sup-default'}
started: [
{pid,<0.724.0>},
{name,{stats_reader,"default"}},
{mfargs,{stats_reader,start_link,["default"]}},
{shutdown,1000},
{child_type,worker}]
[ns_server:debug,2012-10-08T3:53:18.311,ns_1@10.3.1.10:'couch_stats_reader-default':couch_stats_reader:vbuckets_aggregation_loop:117]Failed to open vbucket: 7 ({not_found,no_db_file}). Ignoring
[error_logger:info,2012-10-08T3:53:18.311,ns_1@10.3.1.10:error_logger:ale_error_logger_handler:log_report:72]
=========================PROGRESS REPORT=========================
supervisor: {local,'single_bucket_sup-default'}
started: [{pid,<0.725.0>},
{name,{failover_safeness_level,"default"}},
{mfargs,
{failover_safeness_level,start_link,["default"]}},
{restart_type,permanent}
,
,
]
[ns_server:debug,2012-10-08T3:53:18.311,ns_1@10.3.1.10:'couch_stats_reader-default':couch_stats_reader:vbuckets_aggregation_loop:117]Failed to open vbucket: 8 (
{not_found,no_db_file}). Ignoring[ns_server:debug,2012-10-08T3:53:18.312,ns_1@10.3.1.10:'couch_stats_reader-default':couch_stats_reader:vbuckets_aggregation_loop:117]Failed to open vbucket: 9 ({not_found,no_db_file}
). Ignoring
[ns_server:debug,2012-10-08T3:53:18.312,ns_1@10.3.1.10:'couch_stats_reader-default':couch_stats_reader:vbuckets_aggregation_loop:117]Failed to open vbucket: 10 (
[ns_server:debug,2012-10-08T3:53:18.312,ns_1@10.3.1.10:'couch_stats_reader-default':couch_stats_reader:vbuckets_aggregation_loop:117]Failed to open vbucket: 11 ({not_found,no_db_file}
). Ignoring