1
0

backport of commit e0b1b87ca684425a38855ac2cbd4436b7945a406 (#25701)

Co-authored-by: Josh Black <raskchanky@gmail.com>
This commit is contained in:
hc-github-team-secure-vault-core 2024-02-28 17:05:49 -05:00 committed by GitHub
parent 9eeac45d74
commit 17a3dc2785
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

3
changelog/25439.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
core/quotas: Deleting a namespace that contains a rate limit quota no longer breaks replication
```

View File

@ -942,7 +942,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