OpenSearch/docs/reference/cluster
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
..
allocation-explain.asciidoc [Docs] Convert remaining code snippets in docs (#26422) 2017-08-30 12:11:10 +02:00
health.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
nodes-hot-threads.asciidoc Core: ignore known idle threads by default in /_nodes/hot_threads 2014-12-17 11:59:31 -05:00
nodes-info.asciidoc Add distribution type to startup scripts 2018-04-20 15:34:01 -07:00
nodes-stats.asciidoc Deprecate the suggest metrics (#29627) 2018-04-20 09:47:38 -04:00
nodes-usage.asciidoc Fix cluster usage docs test 2017-12-01 16:55:10 +01:00
pending.asciidoc [Docs] Convert more doc snippets (#26404) 2017-08-30 09:30:36 +02:00
remote-info.asciidoc CCS: Drop http address from remote cluster info (#29568) 2018-04-27 14:19:00 -04:00
reroute.asciidoc Minor tweaks to reroute documentation (#30246) 2018-04-30 13:09:03 +01:00
state.asciidoc _cluster/state should always return cluster_uuid (#30143) 2018-04-30 10:16:11 -04:00
stats.asciidoc [Docs] Convert more doc snippets (#26359) 2017-08-28 11:23:09 +02:00
tasks.asciidoc Docs: Use task_id in examples of tasks (#30436) 2018-05-08 14:23:32 -04:00
update-settings.asciidoc [Docs] Correct spelling in update-settings.asciidoc (#27808) 2017-12-14 10:16:50 +01:00