Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

When introduced in #39629 we needed to acquire mutex here because the
toString() result included a mutable field, but we dropped that field
in #77295. This commit removes the now-unnecessary synchronization.

When introduced in elastic#39629 we needed to acquire `mutex` here because the
`toString()` result included a mutable field, but we dropped that field
in elastic#77295. This commit removes the now-unnecessary synchronization.
@DaveCTurner DaveCTurner added >non-issue :Distributed Coordination/Network Http and internode communication implementations v8.19.0 v9.1.0 labels May 30, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Coordination Meta label for Distributed Coordination team label May 30, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

Copy link
Contributor

@schase-es schase-es left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@nicktindall nicktindall left a comment

Choose a reason for hiding this comment

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

LGTM

@schase-es
Copy link
Contributor

Oof, I realized I just commented and didn't approve...

@DaveCTurner DaveCTurner added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) auto-backport Automatically create backport pull requests when merged labels Jun 4, 2025
@elasticsearchmachine elasticsearchmachine merged commit 46e5f1c into elastic:main Jun 4, 2025
18 checks passed
@DaveCTurner DaveCTurner deleted the 2025/05/30/ConnectionTarget-toString branch June 4, 2025 10:37
DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Jun 4, 2025
When introduced in elastic#39629 we needed to acquire `mutex` here because the
`toString()` result included a mutable field, but we dropped that field
in elastic#77295. This commit removes the now-unnecessary synchronization.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.19

elasticsearchmachine pushed a commit that referenced this pull request Jun 4, 2025
When introduced in #39629 we needed to acquire `mutex` here because the
`toString()` result included a mutable field, but we dropped that field
in #77295. This commit removes the now-unnecessary synchronization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Distributed Coordination/Network Http and internode communication implementations >non-issue Team:Distributed Coordination Meta label for Distributed Coordination team v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants