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);}}"}}}

        Activity

        karan Karan Kumar (Inactive) created issue -
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Field Original Value New Value
        Assignee Filipe Manana [ filipe manana ] Aleksey Kondratenko [ alkondratenko ]
        farshid Farshid Ghods (Inactive) made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        FilipeManana Filipe Manana (Inactive) made changes -
        Component/s ns_server [ 10019 ]
        Aliaksey Artamonau Aliaksey Artamonau made changes -
        Assignee Aleksey Kondratenko [ alkondratenko ] Aliaksey Artamonau [ aliaksey artamonau ]
        Aliaksey Artamonau Aliaksey Artamonau made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        farshid Farshid Ghods (Inactive) made changes -
        Summary Viewquery failing due to {"error":"error","reason":"A view spec can not consist of merges exclusively."} 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."}
        Labels 2.0-dev-preview-4-release-notes
        peter peter made changes -
        Component/s view-merging [ 10145 ]
        farshid Farshid Ghods (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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