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/12/17 18:30:48 UTC

[GitHub] [couchdb] davisp commented on issue #2329: Add option to enforce fetching data from local shards, instead of from shards on on remote nodes(if data present on local node)

davisp commented on issue #2329: Add option to enforce fetching data from local shards, instead of from shards on on remote nodes(if data present on local node)
URL: https://github.com/apache/couchdb/issues/2329#issuecomment-566690257
 
 
   We're not trying to actively load balance here so it wouldn't make sense to add a parameter to disable anything. What ends up happening is that when we wait for quorum we essentially pick a random representative which may have references to attachments on a remote node.
   
   However, we could add some smarts in `fabric_doc_open` that could prefer to use a reply from the local node if it's part of the quorum response. It'd not be a non-trivial change as there's a bit of subtlety in that logic around what gets included as the quorum representative.

----------------------------------------------------------------
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