disable undo logs by default for 1.12.0 (#17453)
This commit is contained in:
parent
df690ea414
commit
ad1503ebcd
|
@ -315,8 +315,10 @@ func (c *Core) setupRaftActiveNode(ctx context.Context) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if err := c.monitorUndoLogs(); err != nil {
|
||||
return err
|
||||
if c.UndoLogsEnabled() {
|
||||
if err := c.monitorUndoLogs(); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
return c.startPeriodicRaftTLSRotate(ctx)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue