You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/08/02 07:10:09 UTC
[GitHub] [couchdb] wohali opened a new pull request #2092: [WIP] Deprecate
port 5986
wohali opened a new pull request #2092: [WIP] Deprecate port 5986
URL: https://github.com/apache/couchdb/pull/2092
## Overview
This introduces a new chttpd_node module, under which all unclustered
functions now live. System DB and shard-level requests bypass mem3
and fabric, using `rpc:call` to call into `couch_db`, `couch_server`,
etc.
The idea is to transplant the `couch_httpd` functionality into
`chttpd` since those functions have `send_json` calls baked into them
and can't directly be `rpc:call`ed.
## Testing recommendations
By-hand test results shown here:
https://gist.github.com/wohali/c2b290845ca45fb3302925c7fbb8c7b9
## Related Issues or Pull Requests
Closes #1523
## TODO
- [ ] Finish unimplemented endpoints
- [ ] Write test cases
- [ ] Consider more abstraction of `chttpd_node:handle_node_db_req/2`,
but probably not to the point of externalising handlers to the app
env.
- [ ] Nuke `couch_httpd` from orbit. It's the only way to be sure.
- [ ] Document new endpoints properly, scrubbing all 5986 refs from the docs too
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services