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:
Jason O'Donnell
2023-10-27 09:59:50 -04:00
committed by GitHub
parent fb97a459ec
commit 29d8929824
9 changed files with 43 additions and 27 deletions

View File

@@ -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)
}