This commit is contained in:
Josh Black 2023-10-11 10:44:33 -07:00 committed by GitHub
parent 44043004d1
commit 1f1ead0dc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
}