Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: view-engine
-
Security Level: Public
-
Labels:None
-
Environment:build-1672 and cluster_run
2 Node cluster
Description
Load 3k documents with any tool. I used cbsystest:
python cbsystest.py run workload --template "default" --ops 1000 --create 100
1) create 2 default design docs, each with same view name, and same default map functions.
2) Publish 1 of the design docs from dev to production
3) Delete the other development ddoc
* deletes index file from disk for both ddocs
4) Querying published ddoc now reports view_merge errors:
Subset of nodes failed with the following error:
[ {
"from": "local",
"reason": "Undefined set view `default` for `_design/ddoc1` design document."
}, {
"from": "http://172.20.10.3:9501/_view_merge/?limit=10",
"reason": "{<<\"unknown_error\">>,<<\"view_undefined\">>}"
} ]
ns
python cbsystest.py run workload --template "default" --ops 1000 --create 100
1) create 2 default design docs, each with same view name, and same default map functions.
2) Publish 1 of the design docs from dev to production
3) Delete the other development ddoc
* deletes index file from disk for both ddocs
4) Querying published ddoc now reports view_merge errors:
Subset of nodes failed with the following error:
[ {
"from": "local",
"reason": "Undefined set view `default` for `_design/ddoc1` design document."
}, {
"from": "http://172.20.10.3:9501/_view_merge/?limit=10",
"reason": "{<<\"unknown_error\">>,<<\"view_undefined\">>}"
} ]
ns
Activity
Farshid Ghods
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 2.0 [ 10114 ] |
Farshid Ghods
made changes -
| Assignee | Filipe Manana [ FilipeManana ] | Tommie McAfee [ tommie ] |
Filipe Manana
made changes -
| Assignee | Tommie McAfee [ tommie ] | Farshid Ghods [ farshid ] |
Peter Wansch
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
please provide the map-reduce function definition for all views as well. assign this back to Filipe after