OpenSearch/plugin
Jason Tedor 3b06254573 Set processors on audit remote client
When creating a transport client for a remote index audit trail, we are
implicitly allowing the construction of this transport client to
initialize the number of processors that Netty thinks are on the
system. Since we never pushed down the number of processors, this will
always default to the number of cores on the machine. If the user has
also set the processors setting, when the server bootstraps it will try
to push the number of processors down to Netty too. If this value does
not match the number of cores, we will fail in bootstrap because we
guard against initializing the number of processors that Netty sees to
different values. Instead, the transport client should inherit the
number of processors too and push this down when it pushes the number of
processors down to Netty. We have to worry about another possibility: an
explicit setting for the number of processors for the transport client
so we require this matches the inherited value.

Relates elastic/x-pack-elasticsearch#3469


Original commit: elastic/x-pack-elasticsearch@032810bb0b
2018-01-04 00:06:16 -05:00
..
bin/x-pack Usability enhancements for certificate generation (elastic/x-pack-elasticsearch#2561) 2017-10-30 13:08:31 +11:00
bwc-snapshot-dummy-projects [TEST] Create checkout directory on Windows before trimming path 2017-12-18 18:13:54 +01:00
config/x-pack Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
core Migrate actions to plugin core (elastic/x-pack-elasticsearch#3424) 2017-12-27 11:31:16 -05:00
forbidden Fix LDAP Authc connections deadlock (elastic/x-pack-elasticsearch#2587) 2017-10-09 13:06:12 +03:00
graph Rename folder x-pack-core -> core (elastic/x-pack-elasticsearch#3305) 2017-12-12 13:23:29 -07:00
keys Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
licenses Migrate actions to plugin core (elastic/x-pack-elasticsearch#3424) 2017-12-27 11:31:16 -05:00
ml Rename folder x-pack-core -> core (elastic/x-pack-elasticsearch#3305) 2017-12-12 13:23:29 -07:00
ml-cpp-snapshot [BUILD] Make AWS error message more informative 2017-09-14 14:46:48 +01:00
monitoring Rename folder x-pack-core -> core (elastic/x-pack-elasticsearch#3305) 2017-12-12 13:23:29 -07:00
security Rename folder x-pack-core -> core (elastic/x-pack-elasticsearch#3305) 2017-12-12 13:23:29 -07:00
sql Add sql folder for upcoming migration (elastic/x-pack-elasticsearch#3307) 2017-12-12 16:48:43 -07:00
src Set processors on audit remote client 2018-01-04 00:06:16 -05:00
watcher Rename folder x-pack-core -> core (elastic/x-pack-elasticsearch#3305) 2017-12-12 13:23:29 -07:00
build.gradle Migrate actions to plugin core (elastic/x-pack-elasticsearch#3424) 2017-12-27 11:31:16 -05:00