[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 | 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: |
|
| 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);}}"}}} |
| Comments |
| Comment by Karan Kumar [ 14/Feb/12 ] |
|
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."} |
| Comment by Karan Kumar [ 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 [ 14/Feb/12 ] |
| the fix needs to be merged to dp4 branch |
| Comment by Filipe Manana [ 15/Feb/12 ] |
| Add ns_server to component list. |
| Comment by Aliaksey Artamonau [ 22/Feb/12 ] |
| http://review.couchbase.org/13407 |