Skip to content

Remove sync from ConnectionTarget#toString #128656

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
: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.

2 participants