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 of Only disable quotas on the primary cluster into release/1.14.x #25701

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #25439 to be assessed for backporting due to the inclusion of the label backport/1.14.x.

The below text is copied from the body of the original PR.


https://hashicorp.atlassian.net/browse/VAULT-22381

tl;dr - setting up a rate limit quota inside a namespace and then deleting the namespace when perf replication is enabled causes the PR secondary to error when doing sync invalidation on the mount table and stop replication because it's trying to delete the quota from the PR secondary storage, which of course is read-only for quotas.

Making this change kept replication up and running and I verified that after the namespace was deleted on the primary, the associated rate limit was also gone from the secondary.

Although this change is to a CE file, it seems worth maybe opening this PR on ENT as well, just to let CI run?


Overview of commits

@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Feb 28, 2024
@raskchanky raskchanky enabled auto-merge (squash) February 28, 2024 21:37
Copy link

Build Results:
All builds succeeded! ✅

@raskchanky raskchanky added this to the 1.14.10 milestone Feb 28, 2024
Copy link

CI Results:
All Go tests succeeded! ✅

@raskchanky raskchanky merged commit 17a3dc2 into release/1.14.x Feb 28, 2024
75 of 76 checks passed
@raskchanky raskchanky deleted the backport/fix-namespace-quota-deletion/hardly-proper-bat branch February 28, 2024 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants