Details
-
Bug
-
Resolution: Fixed
-
Critical
-
5.0.0
-
Untriaged
-
Yes
Description
Build : 5.0.0-3294
Last good build : 5.0.0-3291
Querying views is failing since build 5.0.0-3294.
[2017-07-12 17:03:11,462] - [rest_client:535] INFO - index query url: http://172.23.122.112:8092/default/_design/dev_ddoc1/_view/views0?stale=false&connection_timeout=60000&full_set=true
[2017-07-12 17:03:12,026] - [rest_client:783] ERROR - GET http://172.23.122.112:8092/default/_design/dev_ddoc1/_view/views0?stale=false&connection_timeout=60000&full_set=true body: headers:
error: 500 reason: error
{"error":"error","reason":"not_supported"}auth: Administrator:password
More info from the test log:
****************** Error report *********************
|
Failure message is: Exception: DDoc=test_view-d50ba69; View={"test_view-d50ba69": {"map": "function (doc) { if(doc.job_title !== undefined) emit([doc.join_yr, doc.join_mo, doc.join_day], [doc.name, doc.email] ); }"}};:{'stale': 'false', 'connection_timeout': 60000}: ERROR: Error occured querying view test_view-d50ba69: {"error":"error","reason":"not_supported"}
|
Test case info:
Test uses employee data set:
-documents are structured as
Steps to repro:
1. Start load data
2. start queries: stale, group, starkey/endkey, stratkey_docid
Views structure are:
Views : ['test_view-d50ba69 : map_fn=function (doc)
, reduce_fn=_count', 'test_view-0c2cb97 : map_fn=function (doc, meta) { if(doc.job_title !== undefined) { var myregexp = new RegExp("^System "); if(doc.job_title.match(myregexp))
{ emit([doc.join_yr, doc.join_mo, doc.join_day], [doc.name, doc.email] );}}}, reduce_fn=None']
Testcase :
./testrunner -i node_conf.ini get-cbcollect-info=True,get-couch-dbinfo=True,skip_cleanup=False -t view.viewquerytests.ViewQueryTests.test_employee_dataset_all_queries,limit=1000,docs-per-day=2,wait_persistence=true,timeout=1200,nodes_init=1
This might have been caused by the following commit :
Commit: 7c3d05975973be399e2b6978898953df8820864f (in build: 3294)
Author: Dave Rigby
MB-23649: Set dcp_noop_mandatory_for_v5_features value to 'true' by default
Require that v5 features (DCP_OPEN_INCLUDE_XATTRS |
DCP_OPEN_COLLECTIONS) have enabled DCP no-op for them to succeed.
Change-Id: I5ea005a5ac9d751afb7a172341a018b42456cb78
Reviewed-on: http://review.couchbase.org/80552
Tested-by: Build Bot
Reviewed-by: Daniel Owen