Merged
Conversation
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
eirsep
reviewed
Sep 6, 2023
| if (!ruleIndexExists(isPrepackaged)) { | ||
| Settings indexSettings = Settings.builder() | ||
| .put("index.hidden", true) | ||
| .put("index.auto_expand_replicas", "0-all") |
Member
There was a problem hiding this comment.
was this a miss?
have we already added this setting this for other system indices in SAP?
Member
Author
There was a problem hiding this comment.
These indices are auto generated, so it would cause single node clusters starting up to immediately be in a yellow state even if they do not use the plugin.
Codecov Report
@@ Coverage Diff @@
## main #539 +/- ##
============================================
- Coverage 25.77% 25.76% -0.01%
Complexity 942 942
============================================
Files 252 252
Lines 10768 10772 +4
Branches 1197 1197
============================================
Hits 2775 2775
- Misses 7746 7750 +4
Partials 247 247
|
eirsep
approved these changes
Sep 7, 2023
sbcd90
approved these changes
Sep 7, 2023
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Sep 7, 2023
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> (cherry picked from commit 1003936)
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Sep 7, 2023
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> (cherry picked from commit 1003936)
This was referenced Sep 7, 2023
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Sep 7, 2023
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> (cherry picked from commit 1003936)
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Sep 7, 2023
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> (cherry picked from commit 1003936)
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Sep 7, 2023
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> (cherry picked from commit 1003936)
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Sep 7, 2023
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> (cherry picked from commit 1003936)
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Sep 7, 2023
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> (cherry picked from commit 1003936)
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Sep 7, 2023
Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> (cherry picked from commit 1003936)
lezzago
added a commit
that referenced
this pull request
Sep 11, 2023
* auto expand replicas (#539) Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> (cherry picked from commit 1003936) * Remove extra import Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> --------- Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> Co-authored-by: Ashish Agrawal <ashish81394@gmail.com> Co-authored-by: Ashish Agrawal <ashisagr@amazon.com>
lezzago
added a commit
that referenced
this pull request
Sep 11, 2023
* auto expand replicas (#539) Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> (cherry picked from commit 1003936) * Remove extra import Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> --------- Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> Co-authored-by: Ashish Agrawal <ashish81394@gmail.com> Co-authored-by: Ashish Agrawal <ashisagr@amazon.com>
lezzago
added a commit
that referenced
this pull request
Sep 11, 2023
* auto expand replicas (#539) Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> (cherry picked from commit 1003936) * Remove extra import Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> --------- Signed-off-by: Ashish Agrawal <ashisagr@amazon.com> Co-authored-by: Ashish Agrawal <ashish81394@gmail.com> Co-authored-by: Ashish Agrawal <ashisagr@amazon.com>
sbcd90
pushed a commit
that referenced
this pull request
Sep 13, 2023
* auto expand replicas (#539) Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
riysaxen-amzn
pushed a commit
to riysaxen-amzn/security-analytics
that referenced
this pull request
Feb 20, 2024
* Correlation engine ux (opensearch-project#524) * wip Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * completed rules page; added placeholder for findings flyout tabs Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * reverted change to show empty table Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * updated rule type Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * updated create correlation rule page Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * correlation page wip Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * Correlation store and API services Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Correlation store and API services Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Correlation store and API services Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Correlation store and API services Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Correlation store and API services Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * updated correlations page Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * updated store interfaces Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * fixed correlation store Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * added api for all correlations Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * added filter support for correlations Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * using apis; added validation Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * Implemented logic to populate correlations tables data. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * restricted to AND Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * log type clearable Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * code cleanup Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * fixed API issue Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * updated snapshots Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * ux improvements Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * code cleanup Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * removed redundant code Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * removed unwanted param Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * connected refresh Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> --------- Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> Signed-off-by: AWSHurneyt <hurneyt@amazon.com> Co-authored-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> Co-authored-by: AWSHurneyt <hurneyt@amazon.com> (cherry picked from commit f565a923c6bfec1b8a69128d21e5d823a50cb142) * Removed duplicate import for EuiSpacer (opensearch-project#538) (opensearch-project#540) * removed duplicate import * updated snapshots --------- Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> * Pinned babel traverse and core (opensearch-project#539) (opensearch-project#544) * pinned babel traverse and core * removed cyclic dependency * added types for vis * refactored code --------- Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> --------- Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com> Co-authored-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Auto expand replicas so for single node clusters, it wouldn't try to create a replica and cause the cluster to be yellow
Issues Resolved
N/A
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.