mirror of https://github.com/status-im/consul.git
fix: stop peering delete routine on leader loss (#17483)
This commit is contained in:
parent
ddce431bd7
commit
bba5cd8455
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:bug
|
||||||
|
peering: Fix a bug that caused server agents to continue cleaning up peering resources even after loss of leadership.
|
||||||
|
```
|
|
@ -0,0 +1,4 @@
|
||||||
|
```release-note:bug
|
||||||
|
namespaces: **(Enterprise only)** fixes a bug where namespaces are stuck in a deferred deletion state indefinitely under some conditions.
|
||||||
|
Also fixes the Consul query metadata present in the HTTP headers of the namespace read and list endpoints.
|
||||||
|
```
|
|
@ -364,6 +364,8 @@ func (s *Server) revokeLeadership() {
|
||||||
|
|
||||||
s.revokeEnterpriseLeadership()
|
s.revokeEnterpriseLeadership()
|
||||||
|
|
||||||
|
s.stopDeferredDeletion()
|
||||||
|
|
||||||
s.stopFederationStateAntiEntropy()
|
s.stopFederationStateAntiEntropy()
|
||||||
|
|
||||||
s.stopFederationStateReplication()
|
s.stopFederationStateReplication()
|
||||||
|
|
Loading…
Reference in New Issue