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

Error occured reading set_view _info of ddoc ddoc1: {"error":"error","reason":"{db_open,<<\"default/master\">>,{not_found,no_db_file}}"} -----crasher: initial call: couch_set_view_group

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Blocker
    • 2.0
    • None
    • ns_server
    • Security Level: Public
    • None

    Description

      build-1693
      http://qa.hq.northscale.net/job/centos-64-2.0-new-rebalance/58/consoleFull
      /testrunner -i /tmp/rebalance_in.ini get-logs=True -t rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ddoc_compaction,items=1000000,nodes_in=3,replica=2,fragmentation_value=90,max_verify=100000,GROUP=IN

      test update data and perform view queries to get 90% ddoc fragmentation
      so, test sent request http://10.3.3.92:8092/_set_view/default/_design/ddoc1/_info and got error:

      [2012-09-07 06:55:30,331] - [rest_client:286] INFO - index query url: http://10.3.3.92:8092/default/_design/ddoc1/_view/default_view4?connectionTimeout=60000&full_set=true
      FAIL
      [2012-09-07 06:57:45,320] - [basetestcase:69] INFO - ============== basetestcase cleanup was started for test #53 rebalance_in_with_ddoc_compaction ==============
      [2012-09-07 06:57:45,349] - [bucket_helper:124] INFO - deleting existing buckets on [ip:10.3.3.92 port:8091 ssh_username:root, ip:10.3.3.99 port:8091 ssh_username:root, ip:10.3.3.93 port:8091 ssh_username:root, ip:10.3.3.91 port:8091 ssh_username:root, ip:10.3.3.82 port:8091 ssh_username:root, ip:10.3.3.94 port:8091 ssh_username:root, ip:10.3.3.97 port:8091 ssh_username:root]
      [2012-09-07 06:57:45,409] - [task:1437] INFO - current amount of fragmentation = 87
      [2012-09-07 06:57:47,486] - [rest_client:582] ERROR - http://10.3.3.92:8092/_set_view/default/_design/ddoc1/_info error 500 reason: error {"error":"error","reason":"{db_open,<<\"default/master\">>,{not_found,no_db_file}}"}
      Exception in thread Thread-251:
      Traceback (most recent call last):
      File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
      self.run()
      File "lib/tasks/taskmanager.py", line 29, in run
      task.step(self)
      File "lib/tasks/task.py", line 53, in step
      self.check(task_manager)
      File "lib/tasks/task.py", line 1435, in check
      calc_ddoc_fragmentation(rest, self.design_doc_name, self.bucket)
      File "lib/tasks/task.py", line 1471, in calc_ddoc_fragmentation
      bucket)
      File "lib/tasks/task.py", line 1456, in aggregate_ddoc_info
      status, content = rest.set_view_info(bucket, design_doc_name)
      File "lib/membase/api/rest_client.py", line 528, in set_view_info
      raise SetViewInfoNotFound(design_name, content)
      SetViewInfoNotFound: Error occured reading set_view _info of ddoc ddoc1: {"error":"error","reason":"{db_open,<<\"default/master\">>,{not_found,no_db_file}}"}

      [couchdb:info,2012-09-07T6:58:35.468,ns_1@10.3.3.92:couch_server:couch_log:info:39]Deleting database default/90
      [couchdb:info,2012-09-07T6:58:35.472,ns_1@10.3.3.92:couch_server:couch_log:info:39]Deleting file /opt/couchbase/var/lib/couchbase/data/default/90.couch.17
      [ns_server:info,2012-09-07T6:58:35.473,ns_1@10.3.3.92:'ns_memcached-default':ns_storage_conf:delete_couch_database:382]Deleting database <<"default/90">>: ok

      [couchdb:error,2012-09-07T6:58:35.473,ns_1@10.3.3.92:<0.22340.34>:couch_log:error:42]couch_set_view_group error opening set view group `_design/ddoc1`, signature `2dd9e0f11b7dbe79af7d38f21fb413b7', from set `default`: {error,
      {db_open,
      <<"default/master">>,

      {not_found, no_db_file}

      }}
      [couchdb:info,2012-09-07T6:58:35.473,ns_1@10.3.3.92:couch_server:couch_log:info:39]Deleting database default/9
      [couchdb:info,2012-09-07T6:58:35.474,ns_1@10.3.3.92:<0.19393.34>:couch_log:info:39]10.3.1.14 - - GET /_set_view/default/_design/ddoc1/_info 500
      [error_logger:error,2012-09-07T6:58:35.475,ns_1@10.3.3.92:error_logger:ale_error_logger_handler:log_report:72]
      =========================CRASH REPORT=========================
      crasher:
      initial call: couch_set_view_group:init/1
      pid: <0.22340.34>
      registered_name: []
      exception exit: {error,{db_open,<<"default/master">>,

      {not_found,no_db_file}}}
      in function couch_set_view_group:init/1
      ancestors: [<0.22339.34>]
      messages: [{'EXIT',<0.22341.34>,normal}]
      links: [<0.22339.34>]
      dictionary: []
      trap_exit: true
      status: running
      heap_size: 4181
      stack_size: 24
      reductions: 5282
      neighbours:


      Alk, I saw today bug MB-6565 Rebalance exited with reason "Couldn't open database `default/0`, reason: {not_found,no_db_file}

      " but I think this is another problem

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            andreibaranouski Andrei Baranouski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty