Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

This commit introduces a startInternal() method to
AbstractHttpServerTransport and makes doStart() a final method so
that we can customize the startup behaviour of the HTTP transport in a
follow-up without needing cooperation from subclasses.

Relates ES-12223

This commit introduces a `startInternal()` method to
`AbstractHttpServerTransport` and makes `doStart()` a final method so
that we can customize the startup behaviour of the HTTP transport in a
follow-up without needing cooperation from subclasses.

Relates ES-12223
@DaveCTurner DaveCTurner requested review from mhl-b and pxsalehi July 8, 2025 11:02
@DaveCTurner DaveCTurner added >non-issue :Distributed Coordination/Network Http and internode communication implementations v9.2.0 labels Jul 8, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added the Team:Distributed Coordination Meta label for Distributed Coordination team label Jul 8, 2025
@mhl-b
Copy link
Contributor

mhl-b commented Jul 8, 2025

customize the startup behaviour of the HTTP transport in a
follow-up without needing cooperation from subclasses

There only 2 production classes in transport and security. Do we need this "flexibility"?

@DaveCTurner
Copy link
Contributor Author

This is just pulled out of another PR to reduce noise. Yes, I'd rather we did this.

Copy link
Contributor

@mhl-b mhl-b left a comment

Choose a reason for hiding this comment

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

Not noisy PR indeed. Don't even know where it's going :)
LGTM

@DaveCTurner DaveCTurner added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jul 9, 2025
@DaveCTurner
Copy link
Contributor Author

There's a little more detail in ES-12223

@elasticsearchmachine elasticsearchmachine merged commit baf4f2f into elastic:main Jul 9, 2025
33 checks passed
@DaveCTurner DaveCTurner deleted the 2025/07/08/http-transport-lifecycle branch July 9, 2025 13:42
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jul 17, 2025
This commit introduces a `startInternal()` method to
`AbstractHttpServerTransport` and makes `doStart()` a final method so
that we can customize the startup behaviour of the HTTP transport in a
follow-up without needing cooperation from subclasses.

Relates ES-12223
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jul 17, 2025
This commit introduces a `startInternal()` method to
`AbstractHttpServerTransport` and makes `doStart()` a final method so
that we can customize the startup behaviour of the HTTP transport in a
follow-up without needing cooperation from subclasses.

Relates ES-12223
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants