Skip to content

Conversation

@kishorviswanathan
Copy link

We have issues with the dragonfly_connected_clients under flowing and becoming a very huge value. I am not sure if this is the result of a race condition or an unbalanced number of increment/decrement calls. This is an attempt to add a check to prevent the underflow from happening.

image

@romange
Copy link
Collaborator

romange commented Oct 14, 2025

Does it happen often @kishorviswanathan ? Is it easily reproducible in your environment?

@kishorviswanathan
Copy link
Author

@romange Yes, it happens quite often, but I don't know what is the reason for it or how to reproduce it.

image

@romange
Copy link
Collaborator

romange commented Oct 15, 2025

Can you please run your server with --migrate_connections=false and report if the issue persists?

@kishorviswanathan
Copy link
Author

@romange I don't see any more connection count underflow after running with --migrate_connections=false. Is this like a know issue or something already fixed ?

@romange
Copy link
Collaborator

romange commented Oct 22, 2025

No it's not known. I just guessed where the bug might be. Feel free to open the issue and I won't accept this PR at this point as it fixes a symptom, not a core issue. Meanwhile - you have a workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants