jcoglan commented on PR #5858:
URL: https://github.com/apache/couchdb/pull/5858#issuecomment-4562981692
The _simplest_ thing to do is to have the response include `"reason": {
"failures": [...] }` since this has no compatibility concerns and is easiest to
implement. However we possibly consider this a breaking change to the `reason`
field.
Returning `"reason": "message", "failures": [...]` instead probably requires
us to ship a version where `chttpd` understands more complex error structure
first, and then later ship a `couch_query_servers` that emits said structure,
to avoid problems with rolling upgrades where `couch_query_servers` emits
something that `chttpd` does not understand.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]