Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7706

[RN 2.0.1] ONGOING REPLICATIONS migrates to the cluster if the replication existed on the added server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.1
    • 2.0.1
    • ns_server, XDCR
    • Security Level: Public
    • None
    • 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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andreibaranouski Andrei Baranouski
            andreibaranouski Andrei Baranouski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty