diff --git a/changelog/25439.txt b/changelog/25439.txt new file mode 100644 index 0000000000..7b1775c9b9 --- /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 +``` diff --git a/vault/mount.go b/vault/mount.go index bc61936929..42bfbde68d 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