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

[backport -> release/3.8.x] fix(db): pass "read" on read-only database operations #13530

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

team-gateway-bot
Copy link
Collaborator

Automated backport to release/3.8.x, triggered by a label in #13519.

Original description

Summary

@jeremyjpj0916 mentions in discussion thread:
#13513

That Kong may work unexpectedly or require write node for general operation.

I did quick search and found couple of missing places where we don't give "read" as a parameter for readonly operations. This may not fix all the issues that we have for how resilient Kong nodes are for write node being offline, but at least it is obvious to fix these at first.

KAG-5196

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

### Summary

@jeremyjpj0916 mentions in discussion thread:
https://github.com/Kong/kong/discussions/13513

That Kong may work unexpectedly or require write node for general operation.

I did quick search and found couple of  missing places where we don't give
"read" as a parameter for readonly operations. This may not fix all the
issues that we have for how resilient Kong nodes are for write node being
offline, but at least it is obvious to fix these at first.

Signed-off-by: Aapo Talvensaari <[email protected]>
(cherry picked from commit c29db18)
@bungle bungle merged commit ffcb1f2 into release/3.8.x Aug 21, 2024
48 checks passed
@bungle bungle deleted the backport-13519-to-release/3.8.x branch August 21, 2024 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee core/db plugins/response-ratelimiting size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants