Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.1
-
Fix Version/s: 2.0.1
-
Component/s: cross-datacenter-replication, ns_server
-
Security Level: Public
-
Labels:None
-
Flagged:Release Note
Description
cluster_run
steps:
1. cluster1: 127.0.0.1:9000,127.0.0.1:9000
cluster2: 127.0.0.1:9002,127.0.0.1:9003
2. unidirection replication of default bucket cluster1->cluster2
3. remove 127.0.0.1:9000 from cluster1
4. initialize 127.0.0.1:9000 and add 127.0.0.1:9001 to it
so we expect to get that cluster1 is clean, but
ONGOING REPLICATIONS on cluster1 contains:
default this cluster bucket "default" on cluster "unknown" Replicating on change
Server error during processing: ["web request failed",
{path,"/pools/default/tasks"},
{type,exit},
{what,
{noproc,
{gen_server,call,
[xdc_rdoc_replication_srv,
{foreach_doc,
#Fun<xdc_rdoc_replication_srv.2.131405864>},
infinity]}}},
{trace,
[{gen_server,call,3,
[{file,"gen_server.erl"},{line,188}]},
{xdc_rdoc_replication_srv,
find_all_replication_docs,0,
[{file,"src/xdc_rdoc_replication_srv.erl"},
{line,194}]},
{ns_doctor,build_tasks_list,2,
[{file,"src/ns_doctor.erl"},{line,174}]},
{menelaus_web,handle_tasks,2,
[{file,"src/menelaus_web.erl"},
{line,1995}]},
{menelaus_web,loop,3,
[{file,"src/menelaus_web.erl"},
{line,392}]},
{mochiweb_http,headers,5,
[{file,"mochiweb_http.erl"},{line,136}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]}] menelaus_web019 n_0@172.16.16.30 19:12:27 - Thu Feb 7, 2013
steps:
1. cluster1: 127.0.0.1:9000,127.0.0.1:9000
cluster2: 127.0.0.1:9002,127.0.0.1:9003
2. unidirection replication of default bucket cluster1->cluster2
3. remove 127.0.0.1:9000 from cluster1
4. initialize 127.0.0.1:9000 and add 127.0.0.1:9001 to it
so we expect to get that cluster1 is clean, but
ONGOING REPLICATIONS on cluster1 contains:
default this cluster bucket "default" on cluster "unknown" Replicating on change
Server error during processing: ["web request failed",
{path,"/pools/default/tasks"},
{type,exit},
{what,
{noproc,
{gen_server,call,
[xdc_rdoc_replication_srv,
{foreach_doc,
#Fun<xdc_rdoc_replication_srv.2.131405864>},
infinity]}}},
{trace,
[{gen_server,call,3,
[{file,"gen_server.erl"},{line,188}]},
{xdc_rdoc_replication_srv,
find_all_replication_docs,0,
[{file,"src/xdc_rdoc_replication_srv.erl"},
{line,194}]},
{ns_doctor,build_tasks_list,2,
[{file,"src/ns_doctor.erl"},{line,174}]},
{menelaus_web,handle_tasks,2,
[{file,"src/menelaus_web.erl"},
{line,1995}]},
{menelaus_web,loop,3,
[{file,"src/menelaus_web.erl"},
{line,392}]},
{mochiweb_http,headers,5,
[{file,"mochiweb_http.erl"},{line,136}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]}] menelaus_web019 n_0@172.16.16.30 19:12:27 - Thu Feb 7, 2013
So XDCR will keep going. why will cluster 1 be clean?
steps:
1. cluster1: 127.0.0.1:9000,127.0.0.1:9000
cluster2: 127.0.0.1:9002,127.0.0.1:9003
2. unidirection replication of default bucket cluster1->cluster2
3. remove 127.0.0.1:9000 from cluster1
4. initialize 127.0.0.1:9000 and add 127.0.0.1:9001 to it
so we expect to get that cluster1 is clean, but
ONGOING REPLICATIONS on cluster1 contains:
default this cluster bucket "default" on cluster "unknown" Replicating on change