Skip to content

Conversation

@Tim-Brooks
Copy link
Contributor

@Tim-Brooks Tim-Brooks commented Mar 14, 2019

Currently, we maintain a transport name ("mock-nio", "nio", "netty")
that is passed to a TcpTransportChannel when a request is received.
The value of this name is to associate with the task when we register a
task with the task manager. However, it is only possible to run ES with
one transport, so having an implementation specific name is unnecessary.
This commit removes the name and replaces it with the generic
"transport".

Currently, we maintain a transport name ("mock-nio", "nio", "netty")
that is passed to a `TcpTransportChannel` when a request is received.
The value of this name is to associate with the task when we register a
task with the task manager. However, it is only possible to run ES with
one transport, so having an implementation specific name is unnecessary.
This commit removes the name and replaces it with the generic
"tcp-transport".
@Tim-Brooks Tim-Brooks added >non-issue :Distributed Coordination/Network Http and internode communication implementations v8.0.0 v7.2.0 labels Mar 14, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@Tim-Brooks
Copy link
Contributor Author

Currently our task types are:

  • direct (for requests to the local node)
  • transport (for tasks created in the TransportAction and PrimaryReplicaSyner)
  • persistent
  • netty/nio/mock-nio (for tasks created in RequestHandlerRegistry)

The last one will be replaced by tcp-transport in this PR. Maybe it should just be transport to match TransportAction and PrimaryReplicaSyner? I don't know how much the different names matter.

@Tim-Brooks Tim-Brooks changed the title Remote transport name from tcp channel Remove transport name from tcp channel Mar 14, 2019
Copy link
Contributor

@s1monw s1monw left a comment

Choose a reason for hiding this comment

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

+1 to rename to transport

@Tim-Brooks Tim-Brooks merged commit 9026c91 into elastic:master Mar 15, 2019
Tim-Brooks added a commit that referenced this pull request Mar 15, 2019
Currently, we maintain a transport name ("mock-nio", "nio", "netty")
that is passed to a `TcpTransportChannel` when a request is received.
The value of this name is to associate with the task when we register a
task with the task manager. However, it is only possible to run ES with
one transport, so having an implementation specific name is unnecessary.
This commit removes the name and replaces it with the generic
"transport".
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Mar 16, 2019
…te-size-hard-failure

* elastic/master:
  use shell with JAVA_HOME for starting archive (elastic#40118)
  Remove Migration Upgrade and Assistance APIs (elastic#40075)
  Revert "Fix IndexSearcherWrapper visibility (elastic#39071)"
  Remove transport name from tcp channel (elastic#40074)
  Document the limitation around field aliases and percolator. (elastic#40073)
  SQL: Refactor Literals serialization method (elastic#40058)
@Tim-Brooks Tim-Brooks deleted the remove_trasport_name branch December 18, 2019 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants