mirror of
https://github.com/status-im/consul.git
synced 2025-02-16 15:47:21 +00:00
fix: stop peering delete routine on leader loss (#17483)
This commit is contained in:
parent
ddce431bd7
commit
bba5cd8455
3
.changelog/17483.txt
Normal file
3
.changelog/17483.txt
Normal file
@ -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.
|
||||||
|
```
|
4
.changelog/_5614.txt
Normal file
4
.changelog/_5614.txt
Normal file
@ -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…
x
Reference in New Issue
Block a user