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

View query and index compaction failing on 1 node with error view_undefined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • bug-backlog
    • 2.5.1, 3.0.3
    • view-engine
    • Security Level: Public
    • None
    • Untriaged
    • Windows 64-bit
    • Unknown

    Description

      Customer upgraded their 6 node cluster from 2.2 to 2.5.1 running on Microsoft Windows Server 2008 R2 Enterprise and one of their views stopped working.

      It appears the indexing and index compaction stopped working on 1 node out of the 6. This appeared to only affect 1 design document.

      snips from problem node -->>

      [couchdb:error,2014-09-08T17:20:31.840,ns_1@HOST:<0.23288.321>:couch_log:error:42]Uncaught error in HTTP request:

      {throw,view_undefined}

      Stacktrace: [

      {couch_set_view,get_group,3}

      ,

      {couch_set_view,get_map_view,4}

      ,

      {couch_view_merger,get_set_view,5}

      ,

      {couch_view_merger,simple_set_view_query,3}

      ,

      {couch_httpd,handle_request,6}

      ,

      {mochiweb_http,headers,5}

      ,

      {proc_lib,init_p_do_apply,3}

      ]
      [couchdb:info,2014-09-08T17:20:31.840,ns_1@HOST:<0.23288.321>:couch_log:info:39]10.7.43.229 - - POST /_view_merge/?stale=false 500

      =====

      [ns_server:warn,2014-09-08T17:25:10.506,ns_1@HOST:<0.14357.327>:compaction_daemon:do_chain_compactors:725]Compactor for view `Bucket/_design/DDOC/main` (pid [

      {type,view},
                                                      {important,true},
                                                      {name,                                                   <<"Bucket/_design/DDoc/main">>},
                                                      {fa,
                                                        {#Fun<compaction_daemon.16.22390493>,
                                                        [<<"Bucket">>,
                                                          <<"_design/DDoc">>,main,
                                                          {config,
                                                          {30,18446744073709551616},
                                                          {30,18446744073709551616},
                                                          undefined,false,false,
                                                          {daemon_config,30,
                                                            131072}},
                                                          false,
                                                          {[{type,bucket}]}]}}]) terminated unexpectedly: {error,                                                                                                     view_undefined}
      [ns_server:warn,2014-09-08T17:25:10.506,ns_1@HOST:<0.14267.327>:compaction_daemon:do_chain_compactors:730]Compactor for view `Bucket/_design/DDoc` (pid [{type,view}

      ,
                                                 

      {name,<<"Bucket/_design/DDoc">>}

      ,
                                                 

      {important,false}

      ,
                                                  {fa,
                                                  {#Fun<compaction_daemon.20.107749383>,
                                                    [<<"Bucket">>,<<"_design/DDoc">>,
                                                    {config,
                                                     

      {30,18446744073709551616},
                                                      {30,18446744073709551616}

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

      {type,bucket}

      ]}]}}]) terminated unexpectedly (ignoring this):

      {error,                                                                                                                 view_undefined}


      [ns_server:debug,2014-09-08T17:25:10.506,ns_1@HOST:compaction_daemon<0.480.0>:compaction_daemon:handle_info:505]Finished compaction iteration.

      Attachments

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

        Activity

          People

            harsha Harsha Havanur
            ianmccloy Ian McCloy (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty