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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-beta-2
    • Component/s: view-engine
    • Security Level: Public
    • Labels:
      None
    • Environment:
      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}

      ]

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

        Activity

        iryna iryna created issue -
        chiyoung Chiyoung Seo made changes -
        Field Original Value New Value
        Assignee Chiyoung Seo [ chiyoung ] Filipe Manana [ filipemanana ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Assignee Filipe Manana [ filipemanana ] Aleksey Kondratenko [ alkondratenko ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Resolution Won't Fix [ 2 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Assignee Aleksey Kondratenko [ alkondratenko ] Filipe Manana [ filipemanana ]
        FilipeManana Filipe Manana (Inactive) made changes -
        Component/s view-engine [ 10060 ]
        farshid Farshid Ghods (Inactive) made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 2.0-beta-refresh [ 10385 ]
        Fix Version/s 2.0 [ 10114 ]
        farshid Farshid Ghods (Inactive) made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        farshid Farshid Ghods (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            FilipeManana Filipe Manana (Inactive)
            Reporter:
            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