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

Support transparent Execute and Query request forwarding #859

Merged
merged 31 commits into from
Aug 19, 2021

Conversation

otoolep
Copy link
Member

@otoolep otoolep commented Aug 17, 2021

Execute and Query requests sent to followers, which need to be served by leaders, can now be transparently forward to leader.

Previous HTTP 301 behavior can still be enabled by adding redirect to the URL as a query param.

Fixes #330

@otoolep otoolep changed the title Cluster execute queries Support transparent Execute and Query request forwarding Aug 17, 2021
@otoolep otoolep merged commit 84d9d61 into master Aug 19, 2021
@otoolep otoolep deleted the cluster-execute-queries branch August 19, 2021 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider routing requests transparently to leader node if necessary
1 participant