OpenSearch/plugins
Simon Willnauer 5616251f22 Remove `node.mode` and `node.local` settings (#19428)
Today `node.mode` and `node.local` serve almost the same purpose, they
are a shortcut for `discovery.type` and `transport.type`. If `node.local: true`
or `node.mode: local` is set elasticsearch will start in _local_ mode which means
only nodes within the same JVM are discovered and a non-network based transport
is used. The _local_ mode it only really used in tests or if nodes are embedded.
For both, embedding and tests explicit configuration via `discovery.type` and `transport.type`
should be preferred.

This change removes all the usage of these settings and by-default doesn't
configure a default transport implemenation since netty is now a module. Yet, to make
the user expericence flawless, plugins or modules can set a `http.type.default` and
`transport.type.default`. Plugins set this via `PluginService#additionalSettings()`
which enforces _set-once_ which prevents node startup if set multiple times. This means
that our distributions will just startup with netty transport since it's packaged as a
module unless `transport.type` or `http.transport.type` is explicitly set.

This change also found a bunch of bugs since several NamedWriteables were not registered if a
transport client is used. Now that we don't rely on the `node.mode` leniency which is inherited
instead of using explicit settings, `TransportClient` uses `AssertingLocalTransport` which detects these problems since it serializes all messages.

Closes #16234
2016-07-14 13:21:10 +02:00
..
analysis-icu Do not catch throwable 2016-07-04 08:41:06 -04:00
analysis-kuromoji Switch analysis from push to pull 2016-06-26 07:15:42 -04:00
analysis-phonetic Fix order of modifiers 2016-07-01 16:57:14 +02:00
analysis-smartcn Switch analysis from push to pull 2016-06-26 07:15:42 -04:00
analysis-stempel Switch analysis from push to pull 2016-06-26 07:15:42 -04:00
discovery-azure-classic Remove `node.mode` and `node.local` settings (#19428) 2016-07-14 13:21:10 +02:00
discovery-ec2 Fix remaining tests that either need access to the netty module or require explict configuration 2016-07-12 16:29:57 +02:00
discovery-gce Plugins: Add components creator as bridge between guice and new plugin init world 2016-07-11 14:14:06 -07:00
ingest-attachment Merge branch 'master' into ingest_plugin_api 2016-07-05 20:53:03 -07:00
ingest-geoip Update ingest useragent plugin to use new ingest plugin 2016-07-01 14:16:09 -07:00
ingest-user-agent ingest: Fixed left over rename to 'ingest-user-plugin' 2016-07-07 21:29:40 +02:00
jvm-example Plugins: Add components creator as bridge between guice and new plugin init world 2016-07-11 14:14:06 -07:00
lang-javascript Do not catch throwable 2016-07-04 08:41:06 -04:00
lang-python Enable Checkstyle RedundantModifier 2016-07-04 15:22:12 +02:00
mapper-attachments Do not catch throwable 2016-07-04 08:41:06 -04:00
mapper-murmur3 Plugins: Remove guice from Mapper plugins 2016-06-21 22:50:39 -07:00
mapper-size Add doc values support to the _size field in the mapper-size plugin 2016-07-05 14:47:58 +02:00
repository-azure Plugins: Add RepositoryPlugin interface for registering snapshot repositories 2016-07-08 00:10:03 -07:00
repository-gcs Removed duplicate deleteBlob methods (#18813) 2016-07-13 14:36:23 -04:00
repository-hdfs Plugins: Add RepositoryPlugin interface for registering snapshot repositories 2016-07-08 00:10:03 -07:00
repository-s3 Add back tests for setting reader helper in s3 and illegal buffer/chunk size 2016-07-08 14:27:08 -07:00
store-smb Fix order of modifiers 2016-07-01 16:57:14 +02:00
build.gradle Revert "Build: Switch to maven-publish plugin" 2016-03-18 17:22:25 -07:00