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

rebalance crash ( exited with error : Couldn't open database ) because of misuse of replica index api and not removing vbucket from replica index before vbucket is deleted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.0-beta
    • 2.0-developer-preview-4
    • ns_server
    • Security Level: Public
    • None
    • dp4 build 730

    Description

      1) create 4 node cluster
      2) load 10 million docs
      3) create views and run queries
      4) reboot 1 node, and wait for warmup
      5) remove and rebalance out node
      5) add back and rebalance in, reports fails with:

      Rebalance exited with reason {{bad_return_value,
      {badmatch,
      {error,
      {error,
      {db_open_error,<<"default/128">>,

      {not_found,no_db_file},
      <<"Couldn't open database `default/128`, reason: {not_found,no_db_file}

      ">>}}}}},
      {gen_server,call,
      [

      {'capi_set_view_manager-default', 'ns_1@10.1.2.223'}

      ,

      {wait_until_added,128}

      ,
      infinity]}}

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            tommie Tommie McAfee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty