This commit is contained in:
Josh Black
2023-10-11 10:44:33 -07:00
committed by GitHub
parent 44043004d1
commit 1f1ead0dc7
2 changed files with 2 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ func (c *Core) barrierViewForNamespace(namespaceId string) (*BarrierView, error)
func (c *Core) UndoLogsEnabled() bool { return false }
func (c *Core) UndoLogsPersisted() (bool, error) { return false, nil }
func (c *Core) EnableUndoLogs() {}
func (c *Core) PersistUndoLogs() error { return nil }
func (c *Core) ReindexStage() *uint32 { return nil }

View File

@@ -198,6 +198,7 @@ func (c *Core) monitorUndoLogs() error {
}
if persisted {
c.EnableUndoLogs()
logger.Debug("undo logs are safe, no need to check any more")
return nil
}