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

[consistent view enabled] view compaction failed with no_db_file error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 2.0
    • None
    • None
    • Security Level: Public
    • None
    • centos
      2 nodes cluster

    Description

      rebalancing 1 node in 1 node out

      views:
      curl -v -X PUT -H 'Content-Type: application/json' 'http://10.3.121.104:8092/default/_design/view0' -d '{"views": { "view0":{"map":"function(doc)

      {\nemit(doc.key,doc.country);\n}

      "}}}'
      curl -v -X PUT -H 'Content-Type: application/json' 'http://10.3.121.104:8092/default/_design/view1' -d '{"views": { "view1":{"map":"function(doc)

      {\nemit(doc.key,doc.key_num);\n}

      "}}}'
      curl -v -X PUT -H 'Content-Type: application/json' 'http://10.3.121.104:8092/default/_design/view2' -d '{"views": { "view2":{"map":"function(doc)

      {\nemit(doc.key,doc.name);\n}

      "}}}'
      curl -v -X PUT -H 'Content-Type: application/json' 'http://10.3.121.104:8092/default/_design/view3' -d '{"views": { "view3":{"map":"function(doc)

      {\nemit(doc.key,doc.email);\n}

      "}}}'
      curl -v -X PUT -H 'Content-Type: application/json' 'http://10.3.121.104:8092/default/_design/view4' -d '{"views": { "view4":{"map":"function(doc)

      {\nemit(doc.key,doc.city);\n}

      "}}}'

      1M items loaded by mcsoda

      User-triggered compaction fails with no_db_file error
      2012-09-17 18:42:58.204 compaction_daemon:0:critical:message(ns_1@10.3.121.105) - User-triggered compaction of view `default/_design/view0` failed: {error,
      {db_open_error,
      <<"default/210">>,

      {not_found, no_db_file}

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

      {not_found,no_db_file}

      ">>}}. See logs for detailed reason.

      Attachments

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

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            iryna iryna
            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