-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Milestone
Description
By default, neither RDB or AOF is enabled even when dataStorage.enable is set to true. Because data (RDB) is only persisted during shutdown, an unexpected termination would cause data loss. The solution today is to provide configuration via valkeyConfig to enable periodic data persistence to disk.
valkeyConfig: |
# Enable AOF
appendonly yes
# Enable RDB snapshots every 60s if at least 10 keys changed
save 60 10If persistence storage is enabled, the chart should set a reasonable default to snapshot the data (e.g. 5 min if there is at least 1 key change) and expose settings for users to choose the right persistent levels without manual configuration snippets.
shoce
Metadata
Metadata
Assignees
Labels
No labels