OpenSearch/qa
Saurabh Singh 3665daf5d0
Add Shard Level Indexing Pressure (#1336)
Shard level indexing pressure improves the current Indexing Pressure framework which performs memory accounting at node level and rejects the requests. This takes a step further to have rejections based on the memory accounting at shard level along with other key performance factors like throughput and last successful requests. 

**Key features**
- Granular tracking of indexing tasks performance, at every shard level, for each node role i.e. coordinator, primary and replica.
- Smarter rejections by discarding the requests intended only for problematic index or shard, while still allowing others to continue (fairness in rejection).
- Rejections thresholds governed by combination of configurable parameters (such as memory limits on node) and dynamic parameters (such as latency increase, throughput degradation).
- Node level and shard level indexing pressure statistics exposed through stats api.
- Integration of Indexing pressure stats with Plugins for for metric visibility and auto-tuning in future.
- Control knobs to tune to the key performance thresholds which control rejections, to address any specific requirement or issues.
- Control knobs to run the feature in shadow-mode or enforced-mode. In shadow-mode only internal rejection breakdown metrics will be published while no actual rejections will be performed.

The changes were divided into small manageable chunks as part of the following PRs against a feature branch.

- Add Shard Indexing Pressure Settings. #716
- Add Shard Indexing Pressure Tracker. #717
- Refactor IndexingPressure to allow extension. #718
- Add Shard Indexing Pressure Store #838
- Add Shard Indexing Pressure Memory Manager #945
- Add ShardIndexingPressure framework level construct and Stats #1015
- Add Indexing Pressure Service which acts as orchestrator for IP #1084
- Add plumbing logic for IndexingPressureService in Transport Actions. #1113
- Add shard indexing pressure metric/stats via rest end point. #1171
- Add shard indexing pressure integration tests. #1198

Signed-off-by: Saurabh Singh <sisurab@amazon.com>
Co-authored-by: Saurabh Singh <sisurab@amazon.com>
Co-authored-by: Rabi Panda <adnapibar@gmail.com>
2021-10-07 11:06:15 -07:00
..
ccs-unavailable-clusters [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
die-with-dignity [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
evil-tests Make default number of shards configurable (#625) 2021-05-05 12:23:49 -07:00
full-cluster-restart [BWC] fix mixedCluster and rolling upgrades (#775) 2021-05-28 00:42:57 -05:00
logging-config [License] Add SPDX License Header to security policies (#531) 2021-04-12 22:59:36 -05:00
mixed-cluster Replace metadata keys in OpenSearchException during serialization and deserialization (#905) 2021-06-30 11:39:26 -07:00
multi-cluster-search [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
no-bootstrap-tests [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
os [TEST] Fix failing distro tests for linux packages (#569) 2021-05-15 21:45:48 -07:00
remote-clusters alt bash path support (#1047) 2021-08-06 11:09:29 -04:00
repository-multi-version [BWC] fix mixedCluster and rolling upgrades (#775) 2021-05-28 00:42:57 -05:00
rolling-upgrade [Version] Increment main to 2.0 (#1192) 2021-09-01 22:35:53 -05:00
smoke-test-client [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
smoke-test-http Add Shard Level Indexing Pressure (#1336) 2021-10-07 11:06:15 -07:00
smoke-test-ingest-disabled [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
smoke-test-ingest-with-all-dependencies [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
smoke-test-multinode [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
smoke-test-plugins [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
translog-policy Cleanup TESTING and DEVELOPER_GUIDE markdowns (#946) 2021-07-12 15:02:56 -05:00
unconfigured-node-name [License] Add SPDX License Header to security policies (#531) 2021-04-12 22:59:36 -05:00
verify-version-constants [BWC] fix mixedCluster and rolling upgrades (#775) 2021-05-28 00:42:57 -05:00
wildfly Remove the oss string from OpenSearch distributions (#575) 2021-04-20 09:27:40 -07:00
build.gradle Rename the distribution used in test clusters. (#603) 2021-04-22 14:21:32 -07:00