OpenSearch/qa
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
..
backwards-5.0 Bump version to 5.0.0-alpha5. 2016-07-05 14:34:23 +02:00
evil-tests Remove `node.mode` and `node.local` settings (#19428) 2016-07-14 13:21:10 +02:00
smoke-test-client Remove `node.mode` and `node.local` settings (#19428) 2016-07-14 13:21:10 +02:00
smoke-test-http Merge pull request #19392 from elastic/modularize_netty 2016-07-13 09:52:03 +02:00
smoke-test-ingest-disabled ingest: Move processors from core to ingest-common module. 2016-06-07 17:32:52 +02:00
smoke-test-ingest-with-all-dependencies update foreach processor to only support one applied processor. (#19402) 2016-07-13 13:13:00 -07:00
smoke-test-multinode Build: Get multi node smoke tests working 2015-11-22 14:49:05 -08:00
smoke-test-plugins Build: Add fixture capabilities to integ tests 2015-12-19 15:46:21 -08:00
smoke-test-reindex-with-painless Removed deprecated 1.x script and template syntax 2016-07-13 15:07:36 +02:00
vagrant Fix syntax for template tests 2016-07-13 11:34:06 -04:00