Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.0
-
Security Level: Public
-
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":[
]
}
This is due to a missing change in commit b4391e4e27319c504b74260df102a19ac090c81e (MB-6988).
Attachments
For Gerrit Dashboard: MB-7338 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
23011,5 | MB-7338 Test for query with on_error=stop and errors | master | testrunner | Status: MERGED | +2 | +1 |
23012,1 | MB-7338 Fix bad JSON responses for queries with ?on_error=stop | 2.0.0 | couchdb | Status: ABANDONED | 0 | +1 |
23023,3 | MB-7338 Fix bad JSON responses for queries with ?on_error=stop | 2.0.1 | couchdb | Status: MERGED | +2 | +1 |