backport of commit e0b1b87ca684425a38855ac2cbd4436b7945a406 (#25701)
Co-authored-by: Josh Black <raskchanky@gmail.com>
This commit is contained in:
parent
9eeac45d74
commit
17a3dc2785
3
changelog/25439.txt
Normal file
3
changelog/25439.txt
Normal file
@ -0,0 +1,3 @@
|
||||
```release-note:bug
|
||||
core/quotas: Deleting a namespace that contains a rate limit quota no longer breaks replication
|
||||
```
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user