Skip to content

HSETEX values become "7" when syncing nodes #4992

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kristjgr opened this issue Apr 24, 2025 · 2 comments
Open

HSETEX values become "7" when syncing nodes #4992

kristjgr opened this issue Apr 24, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@kristjgr
Copy link

kristjgr commented Apr 24, 2025

Describe the bug
Hello, we are experiencing a weird bug where all our values become “7” using the HSETEX command when syncing dragonfly nodes.

To Reproduce

We have two 8gb dragonfly nodes in kubernetes and one operator. Version v1.1.9 of Helm Chart for operator, and we are running with backup: dbfilename=anbdb with hourly snapshot.

Populate the database with:
HSETEX a 86400 x 1 y 3 z 4
and let it sync, then if I delete one of the pods, then the values after syncing in the deleted pod will become all “7”:

hgetall a
1) "x"
2) "7"
3) "z"
4) "7"
5) "y"
6) "7"

Expected behavior
Expected values to be as before sync.

Screenshots
NA

Environment (please complete the following information):

  • OS: Ubuntu 22.04.5 LTS

  • Kernel: 5.15.0-1086-azure

  • Containerized?: kubernetes

  • Dragonfly Version: 1.26.2

we experienced this half a year ago too (didnt report it though) but all the values were then "6" - so at least now we know its not the devil roaming in there

@kristjgr kristjgr added the bug Something isn't working label Apr 24, 2025
@adiholden
Copy link
Collaborator

Thanks for reporting this @kristjgr

@adiholden
Copy link
Collaborator

runing the command
HSETEX a 86400 x 1 y 3 z 4
restart dragonfly that loads the snapshot will result with this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants