Skip to content

Data not persisted on storage #88

@sgissi

Description

@sgissi

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 10

If 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions