Sitelet https://github.com/redis/node-redis/pull/3124
Skip to content

socket_reconnection_guard - #3124

Closed
zingazzi wants to merge 1 commit into
redis:masterfrom
zingazzi:fix_consurrency_reconnection
Closed

zingazzi wants to merge 1 commit into
redis:masterfrom
zingazzi:fix_consurrency_reconnection

Conversation

@zingazzi

@zingazzi zingazzi commented Nov 2, 2025 •

Copy link
Copy Markdown

Description

Seems there was an issue related to reconnection #3108
The issue was related (I think) by a race condition on socket connect()

adding a guard to prevent multple connecton at the same time the issue seems resolved.
Because is a core component double check it.

Maybe i can add also a few test in test suite.

Describe your pull request here


Checklist

  • Does npm test pass with this change (including linting)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

@nkaradzhov

Copy link
Copy Markdown
Collaborator

hi @zingazzi, thanks for the contribution. i will have to take more thorough look into this as its in one of the most critical part of the driver.

@nkaradzhov

Copy link
Copy Markdown
Collaborator

@zingazzi, thanks again! This problem was adressed in #3128

@nkaradzhov nkaradzhov closed this Nov 11, 2025
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