dragonflydb / dragonflydb/dragonfly-operator
Data Loss when Instances Crash / Restart
- Dominant language
- Go
- Stars
- 357
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
DragonflyDB suffers data loss after cluster failover when using RDB backup format.
To Reproduce
Steps to reproduce the behavior:
Set up 3 instance DragonflyDB in Kubernetes with t4g instances with RDB backup format.
Insert some data.
Delete all 3 instances of DragonflyDB.
Wait for cluster to report as healthy.
Observe that Data loss has happened.
Expected behavior
Backups happen as expected and data loss does not happen.
Screenshots

Datadog logs attached below:
[extract-2025-06-23T18_29_51.608Z.csv](https://github.com/user-attachments/files/20870624/extract-2025-06-23T18_29_51.608Z.csv)
Environment (please complete the following information):
OS: AWS Amazon Linux
Kernel: Linux ds2-dragonfly-dev-0 6.1.134-152.225.amzn2023.aarch64
Containerized?: Kubernetes EKS 1.33
Dragonfly Version: 1.31.0
Contributor guide
Assessment
This issue has not been assessed yet.