From a2e1f3a108db6843d752091c4db0c8173281ed45 Mon Sep 17 00:00:00 2001 From: Josh Black Date: Wed, 14 Feb 2024 17:25:15 -0800 Subject: [PATCH 1/2] Only disable quotas on the primary cluster --- vault/mount.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vault/mount.go b/vault/mount.go index bc6193692969..42bfbde68dd1 100644 --- a/vault/mount.go +++ b/vault/mount.go @@ -953,7 +953,7 @@ func (c *Core) unmountInternal(ctx context.Context, path string, updateStorage b removePathCheckers(c, entry, viewPath) - if c.quotaManager != nil { + if c.quotaManager != nil && !c.IsPerfSecondary() { if err := c.quotaManager.HandleBackendDisabling(ctx, ns.Path, path); err != nil { c.logger.Error("failed to update quotas after disabling mount", "path", path, "error", err) return err From 1c555998c3bebe92c1fece0f48a44a8055131214 Mon Sep 17 00:00:00 2001 From: Josh Black Date: Wed, 28 Feb 2024 11:24:05 -0800 Subject: [PATCH 2/2] add changelog --- changelog/25439.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelog/25439.txt diff --git a/changelog/25439.txt b/changelog/25439.txt new file mode 100644 index 000000000000..7b1775c9b996 --- /dev/null +++ b/changelog/25439.txt @@ -0,0 +1,3 @@ +```release-note:bug +core/quotas: Deleting a namespace that contains a rate limit quota no longer breaks replication +```