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 2020/01/08 17:41:03 UTC

[GitHub] [couchdb] kocolosk 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)

kocolosk 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-572178117
 
 
   We won't be able to land this in the next release (3.0), but I do think an enhancement here makes sense. One technique that I've seen in other systems is
   
   1. ask every replica for the revision metadata to compute the quorum
   1. ask the "nearest" replica for the actual data (can be part of the same message above)
   1. if the nearest replica is not part of the quorum or serves stale data per the quorum computation, fire off requests for the data to the other replicas and use the first one to respond.
   
   

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