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

View query returns unknown_error {"error":"unknown_error","reason":"undef"} when one node is failed over, but not removed completely

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0-developer-preview-4
    • 2.0
    • ns_server
    • Security Level: Public
    • None
    • Ubuntu 10.04 64 bit.

    Description

      test:-
      test_load_data_get_view_x_mins_y_design_docs,num-design-docs=25,load-time=10,run-view-time=2,num-tries=100

      25 design docs, continuous mutation, parallel query on 25 design docs.

      All Design Docs have the following map function:-

      {"_id":"_design/dev_test_view_on_10000_docs-1f75728","_rev":"1-b9cf93a0","language":"javascript","views":{"dev_test_view_on_10000_docs-1f75728":{"map":"function (doc) {if(doc.name.indexOf(\"dev_test_view_on_10000_docs-1f75728\") != -1) { emit(doc.name, doc);}}"}}}

      Query:-
      http://10.1.2.94:8091/couchBase/default/_design/dev_test_view_on_10000_docs-07fc776/_view/dev_test_view_on_10000_docs-07fc776?limit=0&connection_timeout=60000&full_set=true

      From the logs:-

      Uncaught error in HTTP request:

      {error, undef}

      [couchdb:info] [2012-02-14 12:32:07] [ns_1@10.1.2.94:<0.20993.3>:couch_log:info:39] Stacktrace: [

      {nil, write_chunk, [<<"\r\n]">>]}

      ,

      {couch_httpd, send_chunk, 2}

      ,

      {couch_httpd_view_merger, http_sender, 2}

      ,

      {couch_index_merger, collect_row_count, 6}

      ,

      {couch_index_merger, do_query_index, 4}

      ,

      {couch_index_merger, query_index_loop, 5}

      ,

      {capi_view, design_doc_view_loop, 5}

      ,

      {couch_httpd, handle_request_int, 6}

      ]

      Attachments

        1. 10.1.2.131-8091-diag.txt.zip
          1.26 MB
        2. 10.1.2.132-8091-diag.txt.zip
          1.32 MB
        3. 10.1.2.133-8091-diag.txt.zip
          1.41 MB
        4. 10.1.2.134-8091-diag.txt.zip
          1.27 MB
        5. 10.1.2.94-8091-diag.txt.zip
          1.90 MB
        6. Screen Shot 2012-02-14 at 12.43.21 PM.png
          Screen Shot 2012-02-14 at 12.43.21 PM.png
          348 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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