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

User-triggered compaction of view `b1/_design/dev_view3` failed: {not_found, no_db_file} during cluster rebalance.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.0-beta
    • 2.0-beta
    • ns_server
    • Security Level: Public
    • None
    • 2.0c-700
      1024 vbuckets
      Centos

    Description

      Hi Filipe,

      Seeing errors on User-triggered compaction of view, during rebalance on a cluster.

      Not sure if this is supported. Documenting the bug, incase it is.

      Could you let me know what exact information is relevant in this case. I ll post up more accordingly.

      thanks,
      Ketaki

      1. Create 4 buckets on a single node cluster ( 3 sasl buckets), enable replica indexes on all buckets.
      2. Create 2 user defined views
      3. Add 3 nodes, and rebalance in
      4. During rebalance, create another view -view3 and compact the view ( user-triggered)

      Error
      User-triggered compaction of view `b1/_design/dev_view3` failed:

      {not_found, no_db_file}

      . See logs for detailed reason.

      Subsequent attemps to compact this , get the same output.

      [ns_server:info,2012-08-17T11:50:26.353,ns_1@10.3.121.34:<0.28242.1>:compaction_daemon:spawn_view_index_compactor:664]Compacting indexes for b1/_design/dev_view3/main
      [couchdb:info,2012-08-17T11:50:26.357,ns_1@10.3.121.34:<0.28112.1>:couch_log:info:39]Set view `b1`, main group `_design/dev_view3`, compaction starting
      [views:info,2012-08-17T11:50:26.358,ns_1@10.3.121.34:'capi_ddoc_replication_srv-b1':capi_set_view_manager:apply_index_states:334]
      Calling couch_set_view:add_replica_partitions([<<"b1">>,
      <<"_design/dev_view3">>,[]])
      [views:info,2012-08-17T11:50:26.362,ns_1@10.3.121.34:'capi_ddoc_replication_srv-b1':capi_set_view_manager:apply_index_states:335]
      couch_set_view:add_replica_partitions([<<"b1">>,<<"_design/dev_view3">>,[]]) returned ok in 0ms
      [views:info,2012-08-17T11:50:26.366,ns_1@10.3.121.34:'capi_ddoc_replication_srv-b1':capi_set_view_manager:apply_index_states:336]
      Calling couch_set_view:remove_replica_partitions([<<"b1">>,
      <<"_design/dev_view3">>,[]])
      [views:info,2012-08-17T11:50:26.367,ns_1@10.3.121.34:'capi_ddoc_replication_srv-b1':capi_set_view_manager:apply_index_states:337]
      couch_set_view:remove_replica_partitions([<<"b1">>,<<"_design/dev_view3">>,[]]) returned ok in 0ms
      [views:info,2012-08-17T11:50:26.368,ns_1@10.3.121.34:'capi_ddoc_replication_srv-b1':capi_set_view_manager:apply_index_states:346]
      Calling couch_set_view:mark_partitions_unindexable([<<"b1">>,
      <<"_design/dev_view3">>,
      []])
      [couchdb:info,2012-08-17T11:50:26.378,ns_1@10.3.121.34:<0.28112.1>:couch_log:info:39]Set view `b1`, main group `_design/dev_view3`, linked PID <0.28470.1> stopped normally
      [couchdb:info,2012-08-17T11:50:26.382,ns_1@10.3.121.34:<0.28112.1>:couch_log:info:39]Restarting compaction for main group `_design/dev_view3`, set view `b1`. Reason: set of unindexable partitions updated
      [ns_server:warn,2012-08-17T11:50:26.386,ns_1@10.3.121.34:<0.28241.1>:compaction_daemon:do_chain_compactors:511]Compactor for view `b1/_design/dev_view3/main` (pid [

      {type,view}

      ,

      {important,true}

      ,

      {name, <<"b1/_design/dev_view3/main">>}

      ,
      {fa,
      {#Fun<compaction_daemon.16.13428321>,
      [<<"b1">>,
      <<"_design/dev_view3">>,
      main,
      {config,

      {30, 18446744073709551616},
      {30, 18446744073709551616}

      ,
      undefined,false,
      {daemon_config,30,
      131072}},
      true,

      {view, <<"_design/dev_view3">>}

      ]}}]) terminated unexpectedly: shutdown
      [couchdb:info,2012-08-17T11:50:26.391,ns_1@10.3.121.34:<0.28112.1>:couch_log:info:39]Set view `b1`, main group `_design/dev_view3`, compaction starting
      [user:error,2012-08-17T11:50:26.392,ns_1@10.3.121.34:compaction_daemon:compaction_daemon:handle_info:321]User-triggered compaction of view `b1/_design/dev_view3` failed: shutdown. See logs for detailed reason.
      [views:info,2012-08-17T11:50:26.428,ns_1@10.3.121.34:'capi_ddoc_replication_srv-b1':capi_set_view_manager:apply_index_states:347]

      Attaching logs ..

      Attachments

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

        Activity

          People

            Aliaksey Artamonau Aliaksey Artamonau (Inactive)
            ketaki Ketaki Gangal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty