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

Failure to open view group when rebalance is ongoing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta
    • Fix Version/s: 2.0
    • Component/s: view-engine
    • Security Level: Public
    • Labels:
    • Environment:
      2.0.0-1633-rel

      Description

      There are many other bugs around the same area, but they seem to be timeout related.

      Not completely sure, if this is same as them. Filing for being safe.
      http://www.couchbase.com/issues/browse/MB-6284
      http://www.couchbase.com/issues/browse/MB-5978

      [rebalance:debug,2012-08-24T15:35:58.601,ns_1@10.3.3.123:<0.151.24>:janitor_agent:bulk_set_vbucket_state:374]bulk vbucket state change failed for:
      [{'ns_1@10.3.3.120',
      {'EXIT',
      {killed,
      {gen_server,call,
      [

      {'janitor_agent-default','ns_1@10.3.3.120'},
      {if_rebalance,<0.32709.23>,
      {update_vbucket_state,70,replica,undefined,undefined}},
      infinity]}}}}]



      [error_logger:error,2012-08-24T15:35:58.829,ns_1@10.3.3.123:error_logger:ale_error_logger_handler:log_report:72]
      =========================CRASH REPORT=========================
      crasher:
      initial call: ns_vbucket_mover:init/1
      pid: <0.32709.23>
      registered_name: []
      exception exit: {{bulk_set_vbucket_state_failed,
      [{'ns_1@10.3.3.123',
      {'EXIT',
      {killed,
      {gen_server,call,
      [{'janitor_agent-default','ns_1@10.3.3.123'},
      {if_rebalance,<0.32709.23>,
      {update_vbucket_state,0,replica,undefined,
      'ns_1@10.3.3.120'}},
      infinity]}}}}]},
      [{janitor_agent,bulk_set_vbucket_state,4},
      {ns_vbucket_mover,update_replication_post_move,3},
      {ns_vbucket_mover,handle_info,2},
      {gen_server,handle_msg,5},
      {proc_lib,init_p_do_apply,3}]}
      in function gen_server:terminate/6
      ancestors: [<0.32629.23>]
      messages: [{'EXIT',<0.32716.23>,normal},
      {'EXIT',<0.151.24>,
      {bulk_set_vbucket_state_failed,
      [{'ns_1@10.3.3.120',
      {'EXIT',
      {killed,
      {gen_server,call,
      [{'janitor_agent-default','ns_1@10.3.3.120'}

      ,
      {if_rebalance,<0.32709.23>,
      {update_vbucket_state,70,replica,undefined,
      undefined}},
      infinity]}}}}]}},
      {'EXIT',<0.98.24>,
      {killed,
      {gen_server,call,
      [

      {'janitor_agent-default','ns_1@10.3.3.120'}

      ,
      {if_rebalance,<0.32709.23>,
      {update_vbucket_state,53,active,undefined,undefined}},
      infinity]}}}]
      links: [<0.32629.23>,<0.32714.23>,<0.62.0>]
      dictionary: [

      {bucket_name,"default"}

      ,

      {i_am_master_mover,true}

      ,

      {child_processes,[<0.151.24>,<0.98.24>,<0.32718.23>, <0.32717.23>,<0.32716.23>]}

      ]

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

        Activity

        Hide
        karan Karan Kumar (Inactive) added a comment -

        <project name="couchdb" path="couchdb" revision="ddfada33d94705f0bace58b90cb2b31f75e17c48"/>

        Show
        karan Karan Kumar (Inactive) added a comment - <project name="couchdb" path="couchdb" revision="ddfada33d94705f0bace58b90cb2b31f75e17c48"/>
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-couchdb-preview #492 (See http://qa.hq.northscale.net/job/github-couchdb-preview/492/)
        MB-6415 Delete index files on terminate after ddoc updated (Revision badcdf3bec99c02415bebaca736687b48a7e0784)

        Result = SUCCESS
        Filipe David Borba Manana :
        Files :

        • src/couch_set_view/src/couch_set_view_group.erl
        • src/couch_set_view/test/02-old-index-cleanup.t
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-couchdb-preview #492 (See http://qa.hq.northscale.net/job/github-couchdb-preview/492/ ) MB-6415 Delete index files on terminate after ddoc updated (Revision badcdf3bec99c02415bebaca736687b48a7e0784) Result = SUCCESS Filipe David Borba Manana : Files : src/couch_set_view/src/couch_set_view_group.erl src/couch_set_view/test/02-old-index-cleanup.t
        Hide
        FilipeManana Filipe Manana (Inactive) added a comment -

        Karan, try build 1643, this was incomplete before.

        Show
        FilipeManana Filipe Manana (Inactive) added a comment - Karan, try build 1643, this was incomplete before.
        Hide
        FilipeManana Filipe Manana (Inactive) added a comment -

        Fixed in master.

        Show
        FilipeManana Filipe Manana (Inactive) added a comment - Fixed in master.
        Hide
        deepkaran.salooja Deepkaran Salooja added a comment -

        Verified. This failure is no longer there on the latest build 1706.

        Show
        deepkaran.salooja Deepkaran Salooja added a comment - Verified. This failure is no longer there on the latest build 1706.

          People

          • Assignee:
            FilipeManana Filipe Manana (Inactive)
            Reporter:
            karan Karan Kumar (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes