Repository navigation
squid: AsyncMessenger: Don't decrease l_msgr_active_connections if it is negative - #60447
Merged
Merged
Conversation
The counter (msgr_active_connections) can be an anomaly in case if the counter is decrese before increase and initial value is 0. It can be happen while the server daemon is blocked on accept_conn and client sends a disconnect request.To avoid the situation increase the counter at first step in add_accept during accepting a request so that the counter would not be 0 during the decrease operation. Fixes: https://tracker.ceph.com/issues/66231 Signed-off-by: Mohit Agrawal <[email protected]> (cherry picked from commit b931251)
afreen23
pushed a commit
to rhcs-dashboard/ceph
that referenced
this pull request
Jul 29, 2026
squid: AsyncMessenger: Don't decrease l_msgr_active_connections if it is negative
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backport tracker: https://tracker.ceph.com/issues/68665
backport of #57951
parent tracker: https://tracker.ceph.com/issues/66231
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh