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

Query request for _design/_info returns error no_db_file while view compaction is in progress(consistent views enabled)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 2.0-beta-2
    • 2.0
    • ns_server
    • Security Level: Public
    • None

    Description

      Query request for _design/_info returns error no_db_file while view compaction is in progress(consistent views enabled).

      Reproduced with the test

      ./testrunner -i /tmp/rebalance_in.ini get-logs=True,disabled_consistent_view=False -t rebalance.rebalancein.RebalanceInTests.rebalance_in_with_ddoc_compaction,items=1000000,nodes_in=3,replica=2,fragmentation_value=85,max_verify=100000,GROUP=IN

      View compaction is in progress and one of the requests for _design/_info

      http://10.3.3.92:8092/_set_view/default/_design/ddoc1/_info

      returns error:

      {"error":"not_found","reason":"no_db_file"}

      Following error can be seen in couchdb logs:

      [couchdb:debug,2012-09-28T4:00:04.529,ns_1@10.3.3.92:<0.5014.64>:couch_log:debug:36]Minor error in HTTP request:

      {not_found,no_db_file}

      [couchdb:debug,2012-09-28T4:00:04.530,ns_1@10.3.3.92:<0.5014.64>:couch_log:debug:36]Stacktrace: [

      {couch_set_view,open_set_group,2}

      ,

      {couch_set_view,get_group_pid,2}

      ,

      {couch_set_view,get_group_info,2}

      ,

      {couch_set_view_http,route_request,4}

      ,

      {couch_httpd,handle_request,6}

      ,

      {mochiweb_http,headers,5}

      ,

      {proc_lib,init_p_do_apply,3}

      ]
      [couchdb:info,2012-09-28T4:00:04.530,ns_1@10.3.3.92:<0.5014.64>:couch_log:info:39]10.3.1.11 - - GET /_set_view/default/_design/ddoc1/_info 404
      [couchdb:debug,2012-09-28T4:00:04.530,ns_1@10.3.3.92:<0.5014.64>:couch_log:debug:36]httpd 404 error response:

      {"error":"not_found","reason":"no_db_file"}

      Diagnostics are attached. The info files however do not have this error.

      Attachments

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

        Activity

          People

            deepkaran.salooja Deepkaran Salooja
            deepkaran.salooja Deepkaran Salooja
            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