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

Unable to get active_tasks listing due to json_encode error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0
    • 2.0-beta
    • ns_server
    • Security Level: Public
    • None
    • Centos 64 bit
      1617

    Description

      http://10.3.2.46:8091/couchBase/_active_tasks

      {"error":"json_encode","reason":"{bad_term,{view,<<\"_design/d3\">>}}"}

      encode_rev(Bad) ->
      throw({json_encode, {bad_term, Bad}}).

      From couchdb logs:-
      [couchdb:debug,2012-08-21T23:15:28.824,ns_1@10.3.2.46:<0.28864.18>:couch_log:debug:36]Minor error in HTTP request: {json_encode,{bad_term,

      {view,<<"_design/d4">>}

      }}
      [couchdb:debug,2012-08-21T23:15:28.824,ns_1@10.3.2.46:<0.28864.18>:couch_log:debug:36]Stacktrace: [

      {ejson,encode_rev,1}

      ,

      {ejson,encode_proplist_rev,2}

      ,

      {ejson,encode_array_rev,2}

      ,

      {ejson,nif_encode,1}

      ,

      {couch_httpd,send_json,4}

      ,

      {couch_httpd,handle_request,6}

      ,

      {menelaus_web,loop,3}

      ,

      {mochiweb_http,headers,5}

      ]
      [couchdb:info,2012-08-21T23:15:28.824,ns_1@10.3.2.46:<0.28864.18>:couch_log:info:39]10.32.10.40 - - GET /_active_tasks 500
      [couchdb:debug,2012-08-21T23:15:28.825,ns_1@10.3.2.46:<0.28864.18>:couch_log:debug:36]httpd 500 error response:
      {"error":"json_encode","reason":"{bad_term,{view,<<\"_design/d4\">>}}"}

      The ns_server log files for this are attached here:-
      http://www.couchbase.com/issues/browse/MB-6371

      Attaching the cbcollect_info from the node having the issue.

      Attachments

        For Gerrit Dashboard: MB-6372
        # Subject Branch Project Status CR V

        Activity

          People

            Aliaksey Artamonau Aliaksey Artamonau (Inactive)
            karan Karan Kumar (Inactive)
            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