Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CXXCBC-340: Support query with read from replica #429

Merged
merged 3 commits into from Jul 11, 2023

Conversation

DemetrisChr
Copy link
Contributor

  • Added use_replica option for query in both core and public APIs as an optional boolean. If set, it is included in the query request body.
  • Added n1ql_read_from_replica cluster capability which is checked when use_replica is set and a feature_not_available error code is returned if the capability is not present.

@DemetrisChr DemetrisChr requested a review from a team July 11, 2023 11:46
@DemetrisChr DemetrisChr merged commit b827427 into couchbaselabs:main Jul 11, 2023
13 of 14 checks passed
@DemetrisChr DemetrisChr deleted the query-replica branch July 11, 2023 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants