-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove handling of index.mapper.dynamic
in AutoCreateIndex
#13067
Conversation
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Compatibility status:Checks if related components are compatible with change c06fa46 Incompatible componentsSkipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/flow-framework.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/performance-analyzer.git] |
❌ Gradle check result for 5ba2fb1: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
#13039 needs to get in first :( |
❌ Gradle check result for d7999d5: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❕ Gradle check result for c06fa46: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13067 +/- ##
============================================
+ Coverage 71.42% 71.44% +0.02%
- Complexity 59978 60378 +400
============================================
Files 4985 5026 +41
Lines 282275 284460 +2185
Branches 40946 41198 +252
============================================
+ Hits 201603 203246 +1643
- Misses 63999 64374 +375
- Partials 16673 16840 +167 ☔ View full report in Codecov by Sentry. |
Thanks for the refactoring! |
…rch-project#13067) * Remove reference to INDEX_MAPPER_DYNAMIC_SETTING in AutoCreateIndex Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add to CHANGELOG Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
* Remove reference to INDEX_MAPPER_DYNAMIC_SETTING in AutoCreateIndex Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add to CHANGELOG Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com> (cherry picked from commit 55f6b5d) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
FYI @reta I removed the 2.14 label as it seems this has not yet been backported. |
…#13588) * Remove reference to INDEX_MAPPER_DYNAMIC_SETTING in AutoCreateIndex * Add to CHANGELOG --------- (cherry picked from commit 55f6b5d) Signed-off-by: Craig Perkins <cwperx@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
This removes the last usage of
index.mapper.dynamic
which was deprecated before the fork.Reading the setting in this class is dead code because the settings object passed into the constructor of AutoCreateIndex is the node settings and
index.mapper.dynamic
is an index setting.Related Issues
Resolves #12416
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.