Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0.1
-
Component/s: view-engine
-
Security Level: Public
-
Labels:None
Description
Under certain circumstances, when using ?on_error=stop and errors happened during query execution, the server now returns invalid JSON response. Examples:
],"errors":[{"from":"http://192.168.1.80:9501/_view_merge/?reduce=false&stale=false&on_error=stop&limit=10","reason":"timeout"}]
}
{"total_rows":0,"rows":[]
{"total_rows":0,"rows":[]
,
"errors":[{"from":"http://192.168.1.80:9501/_view_merge/?reduce=false&stale=false&on_error=stop&limit=10","reason":"timeout"}]
}
This is due to a missing change in commit b4391e4e27319c504b74260df102a19ac090c81e (MB-6988).
],"errors":[{"from":"http://192.168.1.80:9501/_view_merge/?reduce=false&stale=false&on_error=stop&limit=10","reason":"timeout"}]
}
{"total_rows":0,"rows":[]
{"total_rows":0,"rows":[]
,
"errors":[{"from":"http://192.168.1.80:9501/_view_merge/?reduce=false&stale=false&on_error=stop&limit=10","reason":"timeout"}]
}
This is due to a missing change in commit b4391e4e27319c504b74260df102a19ac090c81e (
http://review.couchbase.org/#/c/23011/ (testrunner)