Skip to content

Commit

Permalink
backport of commit 889cca7 (#24421)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Miller <[email protected]>
  • Loading branch information
1 parent 6bec214 commit d71ddce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions vault/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions vault/seal_stubs_oss.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit d71ddce

Please sign in to comment.