-
Notifications
You must be signed in to change notification settings - Fork 113
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
Make ActionRequests that extend UpdateRequest to extend more generic ActionRequest #1311
Merged
bowenlan-amzn
merged 22 commits into
opensearch-project:main
from
cwperks:extend-action-request
Dec 13, 2024
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
84a658c
Upgrade to actions/upload-artifact@v4
cwperks ae9fa1b
Make ActionRequests that extend UpdateRequest to extend more generic …
cwperks b5d4043
Apply to StartTransformRequest
cwperks b15acc6
Apply to rollup actions
cwperks 8a310d2
Update snapshot management requests
cwperks 282b10c
Merge branch 'fix-upload-artifact' into extend-action-request
cwperks 7f38da0
Fix tests
cwperks 36318d3
Free up disk space on github runner
cwperks 1da64a8
Remove sudo
cwperks d547407
Check runner space
cwperks 875b911
Remove sudo
cwperks dc11c5b
Delete index in test
cwperks 86cf601
Skip generic
cwperks 7dd60d1
Clear AfterClass
cwperks 7c82470
Permissive warnings handler
cwperks 15ad708
Move into waitFor
cwperks 94d808b
Remove match to generic
cwperks c663da7
Revert "Permissive warnings handler"
cwperks bed7788
Move back out of waitFor
cwperks 295530f
Fix issue with readonly indices after bugfix in core (https://github.…
cwperks 0e1a58f
Merge branch 'main' into extend-action-request
cwperks e8d2df9
Overwrite true
cwperks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
The changes in this file are needed to adapt to a bugfix in core: https://github.com/opensearch-project/OpenSearch/pull/16568/files#diff-4294469155ee17976f9046a05d7fb983ddce7d8398f780b7e60c17065e521f4f
Core allows the readonly settings to change in an update request if and only if its the only setting being changed.
There used to be a bug in core that allowed changes of multiple settings because the conditional did not group the settings together in the same group (i.e.
condition1 && condition2 || condition3 || condition4
instead ofcondition1 && (condition2 || condition3 || condition4)
)To adapt to the change, this is now setting readonly to
false
initially and then doing a follow-up request to set it back totrue
andauto-manage
tofalse
.