From 9f72d620b0ea45248aad2d7f73c0c7d26f246634 Mon Sep 17 00:00:00 2001 From: Scott Miller Date: Thu, 7 Dec 2023 18:16:11 +0000 Subject: [PATCH] backport of commit 889cca71faedcb1391b942a8b2cac5f88abe0bc0 --- vault/core.go | 1 + vault/seal_stubs_oss.go | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/vault/core.go b/vault/core.go index 85660f3faf40..86b4e9059e76 100644 --- a/vault/core.go +++ b/vault/core.go @@ -2308,6 +2308,7 @@ func (c *Core) sealInternalWithOptions(grabStateLock, keepHALock, performCleanup c.logger.Debug("runStandby done") } + stopPartialSealRewrapping(c) c.teardownReplicationResolverHandler() // Perform additional cleanup upon sealing. diff --git a/vault/seal_stubs_oss.go b/vault/seal_stubs_oss.go index 2c054d3651ad..518ab953fe18 100644 --- a/vault/seal_stubs_oss.go +++ b/vault/seal_stubs_oss.go @@ -20,6 +20,10 @@ func startPartialSealRewrapping(c *Core) { // nothing to do } +func stopPartialSealRewrapping(c *Core) { + // nothing to do +} + func GetPartiallySealWrappedPaths(ctx context.Context, backend physical.Backend) ([]string, error) { return nil, nil }