Skip to content

Conversation

@jasontedor
Copy link
Member

This pull request enables some extensions to the Netty 4 implementation.

Relates #19526

jaymode and others added 5 commits August 2, 2016 13:45
This commit enables the Netty 4 HTTP server implementation to allow for
extensions.
The Netty 4 transport implementations have an unnecessary dependency on
SocketChannels, and can instead just use plain Channels.
serverBootstraps.put(name, serverBootstrap);
}

protected ChannelHandler getServerChannelInitializer(String name, Settings settings) {
Copy link

Choose a reason for hiding this comment

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

is there a reason not to inline this method and the one below?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, to enable extensions.

Copy link

Choose a reason for hiding this comment

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

Discussed this with @jasontedor, he explained that this class can be extended and these methods need to be overridable.

Copy link
Member

Choose a reason for hiding this comment

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

shall we document the fact that these methods can be extended?

@abeyad
Copy link

abeyad commented Aug 3, 2016

LGTM

* master:
  Fix REST test documentation
  [Test] move methods from bwc test to test package for use in plugins (elastic#19738)
  package-info.java should be in src/main only.
  Split regular histograms from date histograms. elastic#19551
  Tighten up concurrent store metadata listing and engine writes (elastic#19684)
  Plugins: Make NamedWriteableRegistry immutable and add extenion point for named writeables
  Add documentation for the 'elasticsearch-translog' tool
  [TEST] Increase time waiting for all shards to move off/on to a node
  Fixes the active shard count check in the case of (elastic#19760)
  Fixes cat tasks operation in detailed mode
  ignore some docker craziness in scccomp environment checks
@jasontedor jasontedor merged commit b12608a into elastic:master Aug 3, 2016
@jasontedor jasontedor deleted the netty4 branch August 3, 2016 18:11
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 >enhancement v5.0.0-alpha5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants