-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Monkey-patching NodeRole
class to avoid role parsing bug.
#18648
Merged
Conversation
This file contains 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
It doesn't stumble over the search role anymore, but..
|
looks like this is a different bug that is already being worked on: #18647 |
yes, that error is fixed with #18658 |
bernd
reviewed
Mar 15, 2024
34e1e5a
to
8540690
Compare
bernd
approved these changes
Mar 18, 2024
This was referenced Mar 18, 2024
janheise
added a commit
that referenced
this pull request
Mar 19, 2024
* Revert "Monkey-patching `NodeRole` class to avoid role parsing bug. (#18648)" This reverts commit 0bf99aa. * Revert "Fix parsing of missing watermark settings. (#18624)" This reverts commit e9783e4. * Revert "Migrating `IndexToolsAdapter` to new Opensearch client. (#18505)" This reverts commit 64921ab. * Revert "Migrating query suggestions to new OpenSearch client. (#17998)" This reverts commit 27f55ec. * Revert "Setting up injection/usage of new OpenSearch Java Client. (#17760)" This reverts commit aacaa0c. * needed changes to revert part1 * Fix opensearch rest client providers * fix OpenSearchInstance * Add license --------- Co-authored-by: Tomas Dvorak <tomas.dvorak@graylog.com>
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
Motivation and Context
This PR is doing some monkey-patching to fix parsing of the
search
role for OpenSearch nodes. This is required due to a lack of support for this in the OpenSearch Java client (bug filed here) and should be removed after the bug was fixed upstream.Refs #14788.
/nocl
/jpd https://github.com/Graylog2/graylog-plugin-enterprise/pull/6803
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: