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

UI error when create view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Blocker
    • 2.0-beta
    • 2.0-beta
    • UI
    • Security Level: Public
    • None
    • centos 6.2 64bit 10GB RAM 150 GB disk

    Description

      Install couchbase server 2.0.0c-700 on 3 node
      Create a cluster and 6GB default bucket with replica index enable.
      Load 10 million items to bucket.
      Create 11 docs and views in dev and publish
      During create docs, browser become hang and got this error twice

      Client-side error-report for user "Administrator" on node 'ns_1@10.3.121.23':
      User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5
      Browser client XHR failure encountered. (age: 25068) Diagnostic info:
      s: {"url":"/couchBase/default/_design/view1","isLocal":false,"global":true,"type":"PUT","contentType":"application/json","processData":true,"async":true,"accepts":

      {"xml":"application/xml, text/xml","html":"text/html","text":"text/plain","json":"application/json, text/javascript","*":"*/*","script":"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"}

      ,"contents":{"xml":{},"html":{},"json":{},"script":{}},"responseFields":

      {"xml":"responseXML","text":"responseText"}

      ,"converters":

      {"text html":true}

      ,"jsonp":"callback","timeout":30000,"cache":false,"dataType":"json","data":"{\"views\":{\"view1\":{\"map\":\"function (doc) {
      n emit(doc._id,
      n [ {
      n person:
      n

      {\\n name : doc['name'],\\n email : doc['email']\\n }


      n },
      n doc['country']
      n ]
      n
      n );\\n}\\n\"}},\"viewInfos\":[{\"name\":\"view1\",\"viewLink\":\"#showView=default%2F_design%252Fdev_view1%2F_view%2Fview1\",\"removeLink\":\"#removeView=default%2F_design%252Fdev_view1%2F_view%2Fview1\",\"map\":\"function (doc) {
      n emit(doc._id,
      n [ {
      n person:
      n

      {\\n name : doc['name'],\\n email : doc['email']\\n }


      n },
      n doc['country']
      n ]
      n
      n );\\n}\\n\"}],\"spatialInfos\":[]}","dataTypes":["text","json"],"crossDomain":false,"hasContent":true}
      xhrStatus: error,
      xhrReadyState: 0,
      errMsg: ,
      statusCode: 0,
      responseText:

      Attachments

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

        Activity

          People

            damien damien (Inactive)
            thuan Thuan Nguyen
            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