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

Rebalance fails when creating/querying views during rebalance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 2.0-beta
    • 2.0
    • ns_server
    • Security Level: Public
    • None
    • build#1453 on 4 node ubuntu

    Description

      Rebalance fails when creating/querying views during rebalance

      Steps to reproduce:

      -Install CB build#1453 with 1024 vbuckets
      -Load 1000 json docs
      -Add 3 nodes
      -Start Rebalance
      -During rebalance create multiple ddocs/views and query each view after creating

      View query is successful for 1 ddoc, 3 views. Create one more ddoc, view. Query the view. Below error is shown:

      {
      "from": "local",
      "reason": "{db_open_error,<<\"default/86\">>,\n

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

      \">>}"
      }
      and rebalance fails.

      Below error and crash report can be seen in the diagnostics:

      [couchdb:info] [2012-07-16 12:43:06] [ns_1@10.1.3.67:<0.16904.0>:couch_log:error:42] couch_set_view_group error opening set view group `_design/dev_d2`, signature `04d345dec1a08b712cb0271b8c0eb3b3', from set `d
      efault`: {error,
      {db_open_error,
      <<"default/86">>,

      {not_found, no_db_file}

      ,
      <<"Couldn't open database `default/86`, reason:

      {not_found,no_db_file}">>}
      }



      [error_logger:error] [2012-07-16 12:43:06] [ns_1@10.1.3.67:error_logger:ale_error_logger_handler:log_report:72]
      =========================CRASH REPORT=========================
      crasher:
      initial call: couch_set_view_group:init/1
      pid: <0.16904.0>
      registered_name: []
      exception exit: {error,
      {db_open_error,<<"default/86">>,
      {not_found,no_db_file}

      ,
      <<"Couldn't open database `default/86`, reason:

      {not_found,no_db_file}

      ">>}}
      in function couch_set_view_group:init/1
      ancestors: [<0.16903.0>]
      messages: []
      links: [<0.16903.0>]
      dictionary: []
      trap_exit: true
      status: running
      heap_size: 4181
      stack_size: 24
      reductions: 6913
      neighbours:

      Diagnostics are attached.

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            deepkaran.salooja Deepkaran Salooja
            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