mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-11-01 02:57:59 +00:00 
			
		
		
		
	CE changes for https://github.com/hashicorp/vault-enterprise/pull/4780 (#23362)
This commit is contained in:
		| @@ -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 } | ||||
|   | ||||
| @@ -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 | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Josh Black
					Josh Black