OpenSearch/modules
Jason Tedor 4a4e3d70d5
Default to one shard (#30539)
This commit changes the default out-of-the-box configuration for the
number of shards from five to one. We think this will help address a
common problem of oversharding. For users with time-based indices that
need a different default, this can be managed with index templates. For
users with non-time-based indices that find they need to re-shard with
the split API in place they no longer need to resort only to
reindexing.

Since this has the impact of changing the default number of shards used
in REST tests, we want to ensure that we still have coverage for issues
that could arise from multiple shards. As such, we randomize (rarely)
the default number of shards in REST tests to two. This is managed via a
global index template. However, some tests check the templates that are
in the cluster state during the test. Since this template is randomly
there, we need a way for tests to skip adding the template used to set
the number of shards to two. For this we add the default_shards feature
skip. To avoid having to write our docs in a complicated way because
sometimes they might be behind one shard, and sometimes they might be
behind two shards we apply the default_shards feature skip to all docs
tests. That is, these tests will always run with the default number of
shards (one).
2018-05-14 12:22:35 -04:00
..
aggs-matrix-stats Deprecate filtering on `_type`. (#29468) 2018-04-13 09:07:51 +02:00
analysis-common Moved tokenizers to analysis common module (#30538) 2018-05-14 07:55:01 +02:00
ingest-common [Test] Fix RenameProcessorTests.testRenameExistingFieldNullValue() (#29655) 2018-04-26 17:26:37 +02:00
lang-expression Upgrade to Lucene-7.4-snapshot-6705632810 (#30519) 2018-05-10 12:31:45 -04:00
lang-mustache Fix template _msearch with extra tokens 2018-04-11 18:04:10 +02:00
lang-painless Test: Switch painless test to 1 shard 2018-04-27 15:01:42 -04:00
mapper-extras Remove legacy mapping code. (#29224) 2018-04-11 09:41:37 +02:00
parent-join Remove useless version checks in REST tests. (#30165) 2018-05-02 11:34:15 +02:00
percolator Remove MapperService#types(). (#29617) 2018-05-02 11:35:12 +02:00
rank-eval Forbid expensive query parts in ranking evaluation (#30151) 2018-05-14 17:36:26 +02:00
reindex Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
repository-url Add missing dependencies on testClasses (#30527) 2018-05-14 16:06:56 +03:00
transport-netty4 Derive max composite buffers from max content len 2018-05-11 10:01:09 +02:00
build.gradle Painless: Add spi jar that will be published for extending whitelists (#28302) 2018-01-18 19:16:26 -08:00