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

Rebalance failure on node eject

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.0.0
    • 5.0.0
    • view-engine
    • Enterprise Edition 5.0.0 build 3217

    Description

      Create a cluster, and create views.
      Rebalance exists with following error:

      [ns_server:debug,2017-07-02T09:20:06.992-07:00,ns_1@172.23.108.103:<0.1438.15>:ns_couchdb_api:rpc_couchdb_node:167]RPC to couchdb node failed for {initiate_indexing,"default"} with {badrpc,
                                                                         {'EXIT',
                                                                          {{{{badmatch,
                                                                              {error,
                                                                               eacces}},
                                                                             [{couch_set_view_group,
                                                                               handle_info,
                                                                               2,
                                                                               [{file,
                                                                                 "/home/couchbase/jenkins/workspace/couchbase-server-unix/couchdb/src/couch_set_view/src/couch_set_view_group.erl"},
                                                                                {line,
                                                                                 1215}]},
                                                                              {gen_server,
                                                                               handle_msg,
                                                                               5,
                                                                               [{file,
                                                                                 "gen_server.erl"},
                                                                                {line,
                                                                                 604}]},
                                                                              {proc_lib,
                                                                               init_p_do_apply,
                                                                               3,
                                                                               [{file,
                                                                                 "proc_lib.erl"},
                                                                                {line,
                                                                                 239}]}]},
                                                                            {gen_server,
                                                                             call,
                                                                             [<11667.18494.0>,
                                                                              {monitor_partition_update,
                                                                               837,
                                                                               #Ref<11667.0.1.91842>,
                                                                               <11667.18559.0>},
                                                                              infinity]}},
                                                                           {gen_server,
                                                                            call,
                                                                            ['capi_set_view_manager-default',
                                                                             initiate_indexing,
                                                                             infinity]}}}}
      Stack: [{ns_couchdb_api,rpc_couchdb_node,4,
                              [{file,"src/ns_couchdb_api.erl"},{line,166}]},
              {janitor_agent,'-handle_call/3-fun-4-',1,
                             [{file,"src/janitor_agent.erl"},{line,712}]},
              {janitor_agent,'-spawn_rebalance_subprocess/3-fun-0-',3,
                             [{file,"src/janitor_agent.erl"},{line,904}]},
              {proc_lib,init_p,3,[{file,"proc_lib.erl"},{line,224}]}]
      
      

      ---------------

      =========================CRASH REPORT=========================
        crasher:
          initial call: janitor_agent:-spawn_rebalance_subprocess/3-fun-0-/0
          pid: <0.1436.15>
          registered_name: []
          exception exit: {error,
                           {badrpc,
                            {'EXIT',
                             {{{{badmatch,{error,eacces}},
                                [{couch_set_view_group,handle_info,2,
                                  [{file,
                                    "/home/couchbase/jenkins/workspace/couchbase-server-unix/couchdb/src/couch_set_view/src/couch_set_view_group.erl"},
                                   {line,1215}]},
                                 {gen_server,handle_msg,5,
                                  [{file,"gen_server.erl"},{line,604}]},
                                 {proc_lib,init_p_do_apply,3,
                                  [{file,"proc_lib.erl"},{line,239}]}]},
                               {gen_server,call,
                                [<11667.18494.0>,
                                 {monitor_partition_update,837,
                                  #Ref<11667.0.1.91842>,<11667.18559.0>},
                                 infinity]}},
                              {gen_server,call,
                               ['capi_set_view_manager-default',
                                {wait_index_updated,837},
                                infinity]}}}}}
            in function  ns_couchdb_api:rpc_couchdb_node/4 (src/ns_couchdb_api.erl, line 168)
            in call from janitor_agent:'-spawn_rebalance_subprocess/3-fun-0-'/3 (src/janitor_agent.erl, line 904)
          ancestors: ['janitor_agent-default','janitor_agent_sup-default',
                        'single_bucket_kv_sup-default',ns_bucket_sup,
                        ns_bucket_worker_sup,ns_server_sup,ns_server_nodes_sup,
                        <0.170.0>,ns_server_cluster_sup,<0.88.0>]
          messages: []
          links: [<0.7013.0>,<0.7012.0>]
          dictionary: []
          trap_exit: false
          status: running
          heap_size: 4185
          stack_size: 27
          reductions: 11675
      
      

      Attachments

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

        Activity

          People

            ritam.sharma Ritam Sharma
            ritam.sharma Ritam Sharma
            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