-
Notifications
You must be signed in to change notification settings - Fork 340
Removes all ImmutableOpenMap references #2726
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
Removes all ImmutableOpenMap references #2726
Conversation
|
CI issues will be resolved once a maven artifact is available with the latest ImmutableOpenMap change. I see that an artifact was pushed to https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/opensearch-core/3.0.0-SNAPSHOT/ but I'm not sure why the CI is still failing since we use sonatype as a repo for artifacts. |
| final Map<String, Settings> indexToSettings = response.getIndexToSettings(); | ||
| for (String index : expectedIndices) { | ||
| if (!indexToSettings.containsKey(index)) { | ||
| mismatchDescription |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Below this line I think you need to change the call from .keys() to .keySet()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh..good catch!
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
626583a to
2ae6795
Compare
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #2726 +/- ##
============================================
+ Coverage 61.47% 61.54% +0.06%
- Complexity 3397 3398 +1
============================================
Files 272 272
Lines 18740 18740
Branches 3284 3284
============================================
+ Hits 11521 11533 +12
+ Misses 5620 5610 -10
+ Partials 1599 1597 -2 |
* Resolve ImmutableOpenMap issue from core refactor (#2715) * Switch from ImmutableOpenMap to Map in AliasExistsMatcher (#2725) * Remove references to ObjectObjectCursor Signed-off-by: Craig Perkins <cwperx@amazon.com> * Switch from ImmutableOpenMap to Map in AliasExistsMatcher (#2725) * Remove references to ObjectObjectCursor Signed-off-by: Craig Perkins <cwperx@amazon.com> * Removes a missed reference for ImmutableOpenMap (#2726) Signed-off-by: Darshit Chanpura <dchanp@amazon.com> * Update ClusterInfoHolder Signed-off-by: Craig Perkins <cwperx@amazon.com> * Run spotlessApply Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com> Signed-off-by: Darshit Chanpura <dchanp@amazon.com> Co-authored-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com> Co-authored-by: Darshit Chanpura <35282393+DarshitChanpura@users.noreply.github.com>
Continutation of #2715 #2725
Check List
- [ ] New functionality includes testing- [ ] New functionality has been documentedBy 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.