mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
api/seal-status: fix deadlock when namespace is set on seal-status calls (#23861)
* api/seal-status: fix deadlock when namespace is set on seal-status calls * changelog
This commit is contained in:
@@ -1532,7 +1532,7 @@ func (c *ServerCommand) Run(args []string) int {
|
||||
// Vault cluster with multiple servers is configured with auto-unseal but is
|
||||
// uninitialized. Once one server initializes the storage backend, this
|
||||
// goroutine will pick up the unseal keys and unseal this instance.
|
||||
if !core.IsInSealMigrationMode() {
|
||||
if !core.IsInSealMigrationMode(true) {
|
||||
go runUnseal(c, core, ctx)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user