Skip to content
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

add fixes for socket shutdown #20877

Merged
merged 33 commits into from May 13, 2024
Merged

add fixes for socket shutdown #20877

merged 33 commits into from May 13, 2024

Conversation

jsteemann
Copy link
Contributor

@jsteemann jsteemann commented Apr 30, 2024

Scope & Purpose

  • Fix connection retry attempts for cluster-internal TLS connections that ran into the 15 seconds timeout during the connection establishing attempt. In this case, the low-level socket was repurposed, but not reset properly. This could leave the connection in an improper state and lead to callbacks for some requests to not being called as expected.
    The connection timeout was also increased from 15 seconds to 60 seconds.

    The PR also adds further tests to fuerte.

  • 💩 Bugfix
  • 🍕 New feature
  • 🔥 Performance improvement
  • 🔨 Refactoring/simplification

Checklist

  • Tests
    • Regression tests
    • C++ Unit tests
    • integration tests
    • resilience tests
  • 📖 CHANGELOG entry made
  • 📚 documentation written (release notes, API changes, ...)
  • Backports

Related Information

  • Docs PR:
  • Enterprise PR:
  • GitHub issue / Jira ticket:
  • Design document:

* Fix connection retry attempts for cluster-internal TLS connections that ran
  into the 15 seconds timeout during the connection establishing attempt.
  In this case, the low-level socket was repurposed, but not reset properly.
  This could leave the connection in an improper state and lead to callbacks
  for some requests to not being called as expected.
@jsteemann jsteemann added this to the 3.11 milestone Apr 30, 2024
@jsteemann jsteemann requested a review from a team as a code owner April 30, 2024 08:41
@cla-bot cla-bot bot added the cla-signed label Apr 30, 2024
Copy link
Member

@neunhoef neunhoef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsteemann jsteemann marked this pull request as draft April 30, 2024 16:31
Copy link
Member

@neunhoef neunhoef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KVS85 KVS85 marked this pull request as ready for review May 6, 2024 11:57
@jsteemann jsteemann marked this pull request as draft May 6, 2024 17:47
@jsteemann jsteemann marked this pull request as ready for review May 7, 2024 08:39
Copy link
Member

@neunhoef neunhoef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsteemann jsteemann requested review from mpoeter and neunhoef May 7, 2024 10:13
@jsteemann jsteemann marked this pull request as draft May 7, 2024 13:05
@jsteemann jsteemann marked this pull request as ready for review May 10, 2024 08:24
@jsteemann jsteemann requested a review from a team as a code owner May 10, 2024 08:24
Copy link
Member

@neunhoef neunhoef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KVS85
Copy link
Contributor

KVS85 commented May 13, 2024

@KVS85 KVS85 merged commit 54dfe12 into 3.11 May 13, 2024
2 checks passed
@KVS85 KVS85 deleted the bug-fix-3.11/socket-shutdown branch May 13, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants