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

Failed rebalance while querying views

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.5.0
    • 2.2.0
    • Security Level: Public
    • None

    Description

      The code attached should be built with the following command:

      cc -lcouchbase vb.c

      and run like this:

      ./a.out foo 1024 172.16.32.139:8091

      foo - id of the document
      1024 - size of the value
      172.16.32.139:8091 - entry point

      After that it will store single key into the cluster, create design document with the view and start continuously fetching its result.

      While this running try to add and remove the node from the cluster and it will fail during rebalance:

      This is what i'm observing on the "Logs" tab in the admin console:

      Rebalance exited with reason {{{{badmatch,
      {error,

      {error, <<"Partition 43 not in active nor passive set">>}

      }},
      [

      {capi_set_view_manager,handle_call,3}

      ,

      {gen_server,handle_msg,5}

      ,

      {gen_server,init_it,6}

      ,

      {proc_lib,init_p_do_apply,3}

      ]},
      {gen_server,call,
      ['capi_set_view_manager-default',

      {wait_index_updated,43}

      ,
      infinity]}},
      {gen_server,call,
      [

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

      ,

      {if_rebalance,<0.4811.1>,initiate_indexing}

      ,
      infinity]}}

      Attachments

        1. cbcollect_info.zip
          1.91 MB
        2. cbcollect_info-172.16.16.152.zip
          517 kB
        3. cbcollect_info-172.16.32.153.zip
          136 kB
        4. ns-diag-20130925152852.txt.gz
          4.95 MB
        5. ns-diag-20130925152905.txt.gz
          3.76 MB
        6. ns-diag-20130925161642.txt.gz
          17.67 MB
        7. vb.c
          8 kB

        Issue Links

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

          Activity

            People

              iryna iryna
              avsej Sergey Avseyev
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty