dragonflydb / dragonflydb/dragonfly-operator

Data Loss when Instances Crash / Restart

Open
#333 10 comments 0 reactions 1 assignee Assigned to @Abhra303 View on GitHub
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

![Image](https://github.com/user-attachments/assets/ab45a90d-75d2-4175-b9b0-dc8dfd7deec8)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.