[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."} Created: 14/Feb/12  Updated: 09/Jan/13  Resolved: 22/Feb/12

Status: Closed
Project: Couchbase Server
Component/s: ns_server
Affects Version/s: 2.0
Fix Version/s: 2.0-developer-preview-4
Security Level: Public

Type: Bug Priority: Blocker
Reporter: Karan Kumar (Inactive) Assignee: Aliaksey Artamonau
Resolution: Fixed Votes: 0
Labels: 2.0-dev-preview-4-release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: Ubuntu 10.04 64 bit

Attachments: Zip Archive     Zip Archive     Zip Archive     Zip Archive     Zip Archive    

Running the following test

This test, will keep running load and keep quering the 20 design docs in parallel.

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

Comment by Karan Kumar (Inactive) [ 14/Feb/12 ]
View query:- error 500 reason: error {"error":"error","reason":"A view spec can not consist of merges exclusively."}
Comment by Karan Kumar (Inactive) [ 14/Feb/12 ]
Build. 2.0.0r-665
Comment by Aleksey Kondratenko [ 14/Feb/12 ]
this needs investigation on ns_server side. Query node likely does not have any vbuckets.
Comment by Farshid Ghods (Inactive) [ 14/Feb/12 ]
the fix needs to be merged to dp4 branch
Comment by Filipe Manana (Inactive) [ 15/Feb/12 ]
Add ns_server to component list.
Comment by Aliaksey Artamonau [ 22/Feb/12 ]
Generated at Sun Nov 23 08:49:29 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.