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

deadlock on design document update + vbucket database delete

    XMLWordPrintable

Details

    • 1

    Description

      build-700(branch-20c)

      steps:

      1.at the same time on the cluster do the following:
      rebalance in 1+ 2 nodes
      indexing of ddocs: production and development
      data loading
      2. run ddoc compaction
      3. during ddoc compaction disable compaction on Auto-Compaction tab

      result:
      a)constantly error messages appear :
      An error was encountered when requesting data from the server. The console has been reloaded to attempt to recover. There may be additional information about the error in the log.
      b) rebalance is failed after 10 mins( the stack trace is the same as in http://www.couchbase.com/issues/browse/MB-6058)

      first error on UI logs:

      Client-side error-report for user "Administrator" on node 'ns_1@10.3.121.13':
      User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.75 Safari/537.1
      Browser client XHR failure encountered. (age: 1216) Diagnostic info:
      s: {"url":"/couchBase/default/_design/dev_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","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\":{\"vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv\":{\"map\":\"function (doc, meta) {
      n if (meta.type == \\\"json\\\")

      {\\n // If the document is JSON, sort by the schema\\n var keys = Object.keys(doc);\\n emit([\\\"json\\\", keys.length], keys);\\n }

      else

      {\\n emit([\\\"blob\\\"]);\\n }

      \\n}\"}}}","dataTypes":["json"],"crossDomain":false,"hasContent":true}
      xhrStatus: timeout,
      xhrReadyState: 0,
      errMsg: timeout,
      statusCode: 0,
      responseText:
      undefined

      stack trace from server:

      [error_logger:error,2012-08-17T12:10:07.272,ns_1@10.3.121.13:error_logger:ale_error_logger_handler:log_report:72]
      =========================CRASH REPORT=========================
      crasher:
      initial call: compaction_daemon:spawn_bucket_compactor/3-fun-2/0
      pid: <0.2992.9>
      registered_name: []
      exception exit: {timeout,{gen_server,call,[couch_server,get_server]}}
      in function gen_server:call/2
      in call from couch_server:all_databases/2
      in call from ns_storage_conf:bucket_databases/1
      in call from compaction_daemon:check_all_dbs_exist/2
      in call from compaction_daemon:'spawn_bucket_compactor/3-fun-2'/4
      ancestors: [compaction_daemon,<0.26617.0>,ns_server_sup,
      ns_server_cluster_sup,<0.60.0>]
      messages: []
      links: [<0.26621.0>]
      dictionary: []
      trap_exit: false
      status: running
      heap_size: 28657
      stack_size: 24
      reductions: 15225
      neighbours:

      whether the changes to take effect when the compression is working?

      Attachments

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

        Activity

          People

            FilipeManana Filipe Manana (Inactive)
            andreibaranouski Andrei Baranouski
            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