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

querying views when new nodes are added and not rebalanced in yet and another node is failed over - Viewquery failing due to {"error":"error","reason":"A view spec can not consist of merges exclusively."}

    Details

      Description

      Running the following test

      This test, will keep running load and keep quering the 20 design docs in parallel.
      viewtests.ViewBasicTests.test_load_data_get_view_x_mins_y_design_docs,num-design-docs=24,load-time=3,run-view-time=1

      This is not an intermittent error.

      During the tests, we also performed.
      1) Some views were deleted
      2) Nodes were failed over
      3) New nodes were rebalanced into the cluster.

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

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

        Activity

        Hide
        karan Karan Kumar (Inactive) added a comment -

        View query:-

        http://10.1.2.94:8091/couchBase/default/_design/dev_test_view_on_10000_docs-b363c97/_view/dev_test_view_on_10000_docs-b363c97?limit=10000&connection_timeout=60000&full_set=true error 500 reason: error

        {"error":"error","reason":"A view spec can not consist of merges exclusively."}
        Show
        karan Karan Kumar (Inactive) added a comment - View query:- http://10.1.2.94:8091/couchBase/default/_design/dev_test_view_on_10000_docs-b363c97/_view/dev_test_view_on_10000_docs-b363c97?limit=10000&connection_timeout=60000&full_set=true error 500 reason: error {"error":"error","reason":"A view spec can not consist of merges exclusively."}
        Hide
        karan Karan Kumar (Inactive) added a comment -

        Build. 2.0.0r-665

        Show
        karan Karan Kumar (Inactive) added a comment - Build. 2.0.0r-665
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        this needs investigation on ns_server side. Query node likely does not have any vbuckets.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - this needs investigation on ns_server side. Query node likely does not have any vbuckets.
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        the fix needs to be merged to dp4 branch

        Show
        farshid Farshid Ghods (Inactive) added a comment - the fix needs to be merged to dp4 branch
        Hide
        FilipeManana Filipe Manana (Inactive) added a comment -

        Add ns_server to component list.

        Show
        FilipeManana Filipe Manana (Inactive) added a comment - Add ns_server to component list.
        Show
        Aliaksey Artamonau Aliaksey Artamonau added a comment - http://review.couchbase.org/13407

          People

          • Assignee:
            Aliaksey Artamonau Aliaksey Artamonau
            Reporter:
            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