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

[windows] Unable to update ddoc(1 bucket, single node)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0-beta-2
    • None
    • view-engine
    • Security Level: Public
    • None
    • single node windows server r2 2008

    Description

      steps to reproduce:
      1. Create 3 ddocs
      2. Keep updating them (adding views)

      test to repro:
      -t view.createdeleteview.CreateDeleteViewTests.test_view_ops_parallel,ddoc_ops=update,test_with_view=True,num_ddocs=4,num_views_per_ddoc=10,items=200000,start_view=2,views_to_ops=5

      I had 9 views per ddoc when it started to fail updates with error:
      [couchdb:error,2012-09-13T12:34:30.306,ns_1@10.1.3.135:<0.15724.7>:couch_log:error:42]Uncaught error in HTTP request: {exit,
      {noproc,
      {gen_server,call,
      ['capi_set_view_manager-default',
      {interactive_update,
      {doc,<<"_design/dev_ddoc1">>,

      {0,<<>>}

      ,
      <<"{\"views\":{\"views0\":{\"map\":\"function (doc)

      { emit(doc.age, doc.first_name);}\"},\"views1\":{\"map\":\"function (doc) { emit(doc.age, doc.first_name);}

      \"},\"views2\":{\"map\":\"function (doc)

      { emit(null, doc);}\"},\"views3\":{\"map\":\"function (doc) { emit(null, doc);}

      \"},\"views4\":{\"map\":\"function (doc)

      { emit(null, doc);}\"},\"views5\":{\"map\":\"function (doc) { emit(null, doc);}

      \"},\"views6\":{\"map\":\"function (doc)

      { emit(doc.age, doc.first_name);}\"},\"views7\":{\"map\":\"function (doc) { emit(doc.age, doc.first_name);}

      \"},\"views8\":{\"map\":\"function (doc)

      { emit(doc.age, doc.first_name);}\"},\"views9\":{\"map\":\"function (doc) { emit(doc.age, doc.first_name);}

      \"}}}">>,
      0,false,[]}},
      infinity]}}}
      [couchdb:info,2012-09-13T12:34:30.306,ns_1@10.1.3.135:<0.15724.7>:couch_log:info:39]Stacktrace: [

      {gen_server,call,3}

      ,

      {capi_frontend,update_doc,3}

      ,

      {couch_httpd_db,update_doc,5}

      ,

      {couch_httpd,handle_request,6}

      ,

      {mochiweb_http,headers,5}

      ,

      {proc_lib,init_p_do_apply,3}

      ]

      Attachments

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

        Activity

          People

            FilipeManana Filipe Manana (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