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

Enabling use of index pausing during rebalance crashes set view group

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta
    • Fix Version/s: 2.0-beta
    • Component/s: ns_server, view-engine
    • Security Level: Public
    • Labels:
      None

      Description

      Running with my consistent views patches and enabled (initially disabled) index pausing:

      1. rlwrap ../send-diag-eval lh:9000 -q
        ns_config:set(index_pausing_disabled, false).
        ok
        #

      The following rebalance failed:

      Rebalance exited with reason {{{{function_clause,
      [{orddict,fetch,
      [53,
      [

      {96,9852}

      ,

      {97,16395}

      ,

      {98,16420}

      ,

      {99,9837}

      ,

      {100,9837}

      ,

      {101,22988}

      ,

      {102,16395}

      ,

      {103,9852}

      ,

      {104,9855}

      ,

      {105,16385}

      ]]},

      {couch_set_view_group, '-process_mark_as_unindexable/2-fun-0-',3}

      ,

      {lists,foldl,3}

      ,

      {couch_set_view_group, process_mark_as_unindexable,2}

      ,

      {couch_set_view_group,handle_call,3}

      ,

      {gen_server,handle_msg,5}

      ,

      {proc_lib,init_p_do_apply,3}

      ]},
      {gen_server,call,
      [<0.614.0>,

      {mark_as_unindexable,"5"}

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

      {set_vbucket_states, [active,active,active,active,active,active, active,active,active,active,active,active, active,active,active,active,active,active, active,active,active,active,active,active, active,active,active,active,active,active, active,active,replica,replica,replica, replica,replica,replica,replica,replica, replica,replica,replica,missing,missing, missing,missing,missing,missing,missing, missing,missing,missing,active,missing, missing,missing,missing,missing,missing, missing,missing,missing,missing,replica, replica,replica,replica,replica,replica, replica,replica,replica,replica,replica, missing,missing,missing,missing,missing, missing,missing,missing,missing,missing, missing,missing,missing,missing,missing, missing,missing,missing,missing,missing, missing,active,active,active,active,active, active,active,active,active,active,replica, replica,replica,replica,replica,replica, replica,replica,replica,replica,replica, replica,replica,replica,replica,replica, replica,replica,replica,replica,replica, missing], [undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,paused,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined, undefined,undefined,undefined,undefined]}

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

      {'janitor_agent-default','n_0@10.17.2.163'}

      ,
      {if_rebalance,<0.2974.0>,
      {update_vbucket_state,53,active,paused,
      undefined}},
      60000]}}

      1. diag.xz
        810 kB
        Aleksey Kondratenko
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        alkondratenko Aleksey Kondratenko (Inactive) created issue -
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            FilipeManana Filipe Manana (Inactive)
            Reporter:
            alkondratenko Aleksey Kondratenko (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