mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
backport of commit 1f1ead0dc7 (#23616)
Co-authored-by: Josh Black <raskchanky@gmail.com>
This commit is contained in:
committed by
GitHub
parent
50517c866a
commit
c6f75b0826
@@ -74,6 +74,7 @@ func (c *Core) barrierViewForNamespace(namespaceId string) (*BarrierView, error)
|
|||||||
|
|
||||||
func (c *Core) UndoLogsEnabled() bool { return false }
|
func (c *Core) UndoLogsEnabled() bool { return false }
|
||||||
func (c *Core) UndoLogsPersisted() (bool, error) { return false, nil }
|
func (c *Core) UndoLogsPersisted() (bool, error) { return false, nil }
|
||||||
|
func (c *Core) EnableUndoLogs() {}
|
||||||
func (c *Core) PersistUndoLogs() error { return nil }
|
func (c *Core) PersistUndoLogs() error { return nil }
|
||||||
|
|
||||||
func (c *Core) teardownReplicationResolverHandler() {}
|
func (c *Core) teardownReplicationResolverHandler() {}
|
||||||
|
|||||||
@@ -198,6 +198,7 @@ func (c *Core) monitorUndoLogs() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if persisted {
|
if persisted {
|
||||||
|
c.EnableUndoLogs()
|
||||||
logger.Debug("undo logs are safe, no need to check any more")
|
logger.Debug("undo logs are safe, no need to check any more")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user