Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Possible to support stale=ok type options? #289

Open
Samon33 opened this issue Mar 1, 2021 · 0 comments
Open

Possible to support stale=ok type options? #289

Samon33 opened this issue Mar 1, 2021 · 0 comments

Comments

@Samon33
Copy link

Samon33 commented Mar 1, 2021

In a distributed CouchDB cluster (i.e. every node has every shard, with cluster replication used for redundancy rather than load balancing), Lucene still appears to trigger internal CouchDB queries of every node, rather than just the 'local' node that it is configured to connect to.

In my situation I have a 3-node CouchDB cluster across 3 disperse datacenters, with a local Lucene instance at each site. Currently, I am seeing around 5TB of additional cluster traffic per month between the cluster nodes due to Lucene triggering full cluster queries.

Is there any way to leverage something like the stale=ok query parameter so that Couch does not need to query every node for each document?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant