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

[130Node]: Rebalance In failed because mover crashed due to wait_seqno_persisted_failed.

    XMLWordPrintable

Details

    Description

      Steps:

      1. Create a 85 node cluster
      2. Create required buckets and collections.
      3. Create 10000000 items sequentially
      4. Create 20000000 random keys
      5. Update 20000000 random keys to create 50 percent fragmentation
      6. Rebalance in with Loading of docs
      7. Rebalance Out with Loading of docs
      8. Rebalance In_Out with Loading of docs
      9. Swap with Loading of docs
      10. Failover a node and RebalanceOut that node with loading in parallel
      11. Failover a node and FullRecovery that node
      12. Failover a node and DeltaRecovery that node with loading in parallel
      13. Updating the bucket replica to 2
      14. Updating the bucket replica to 1
      15. Flush the bucket and start the entire process again

      The above test failed in 3rd iteration at step 6.

      Worker <0.18378.2252> (for action {move,
      {82,
      ['ns_1@172.23.120.119',
      'ns_1@172.23.106.99'],
      ['ns_1@172.23.106.99',
      'ns_1@172.23.120.129'],
      []}}) exited with reason {unexpected_exit,
      {'EXIT',
      <0.5226.2254>,
      {{wait_seqno_persisted_failed,
      "GleamBookUsers0",
      82,661835,
      [{'ns_1@172.23.106.99',
      {'EXIT',
      {{{{case_clause,
      {error,
      {{{badmatch,
      {error,
      {{badmatch,
      {error,
      timeout}},
      [{mc_client_binary,
      cmd_vocal_recv,
      5,
      [{file,
      "src/mc_client_binary.erl"},
      {line,
      152}]},
      {mc_client_binary,
      auth,
      2,
      [{file,
      "src/mc_client_binary.erl"},
      {line,
      193}]},
      {dcp_proxy,
      connect,
      5,
      [{file,
      "src/dcp_proxy.erl"},
      {line,
      254}]},
      {dcp_proxy,
      maybe_connect,
      2,
      [{file,
      "src/dcp_proxy.erl"},
      {line,
      236}]},
      {dcp_producer_conn,
      init,
      2,
      [{file,
      "src/dcp_producer_conn.erl"},
      {line,
      25}]},
      {dcp_proxy,
      init,
      1,
      [{file,
      "src/dcp_proxy.erl"},
      {line,
      52}]},
      {gen_server,
      init_it,
      2,
      [{file,
      "gen_server.erl"},
      {line,
      374}]},
      {gen_server,
      init_it,
      6,
      [{file,
      "gen_server.erl"},
      {line,
      342}]}]}}},
      [{dcp_replicator,
      init,
      1,
      [{file,
      "src/dcp_replicator.erl"},
      {line,
      44}]},
      {gen_server,
      init_it,
      2,
      [{file,
      "gen_server.erl"},
      {line,
      374}]},
      {gen_server,
      init_it,
      6,
      [{file,
      "gen_server.erl"},
      {line,
      342}]},
      {proc_lib,
      init_p_do_apply,
      3,
      [{file,
      "proc_lib.erl"},
      {line,
      249}]}]},
      {child,
      undefined,
      {'ns_1@172.23.120.120',
      [collections,
      del_times,
      del_user_xattr,
      json,
      set_consumer_name,
      snappy,
      xattr]},
      {dcp_replicator,
      start_link,
      ['ns_1@172.23.120.120',
      "GleamBookUsers0",
      [collections,
      del_times,
      del_user_xattr,
      json,
      set_consumer_name,
      snappy,
      xattr]]},
      temporary,
      60000,
      worker,
      [dcp_replicator]}}}},
      [{dcp_sup,
      start_replicator,
      2,
      [{file,
      "src/dcp_sup.erl"},
      {line,
      51}]},
      {dcp_sup,
      '-manage_replicators/2-lc$^3/1-3-',
      2,
      [{file,
      "src/dcp_sup.erl"},
      {line,
      101}]},
      {dcp_replication_manager,
      handle_call,
      3,
      [{file,
      "src/dcp_replication_manager.erl"},
      {line,
      83}]},
      {gen_server,
      try_handle_call,
      4,
      [{file,
      "gen_server.erl"},
      {line,
      661}]},
      {gen_server,
      handle_msg,
      6,
      [{file,
      "gen_server.erl"},
      {line,
      690}]},
      {proc_lib,
      init_p_do_apply,
      3,
      [{file,
      "proc_lib.erl"},
      {line,
      249}]}]},
      {gen_server,
      call,
      ['dcp_replication_manager-GleamBookUsers0',
      {get_replicator_pid,
      82},
      infinity]}},
      {gen_server,
      call,
      [{'janitor_agent-GleamBookUsers0',
      'ns_1@172.23.106.99'},
      {if_rebalance,
      <0.30939.2244>,
      {wait_seqno_persisted,
      82,
      661835}},
      infinity]}}}}]},
      [{ns_single_vbucket_mover,
      '-wait_seqno_persisted_many/5-fun-2-',
      5,
      [{file,
      "src/ns_single_vbucket_mover.erl"},
      {line,
      482}]},
      {proc_lib,
      init_p,3,
      [{file,
      "proc_lib.erl"},
      {line,
      234}]}]}}}
      

      Attachments

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

        Activity

          People

            owend Daniel Owen
            ritesh.agarwal Ritesh Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty