-
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
Restrict user overrides for remote store related index settings #8812
Merged
gbbafna
merged 11 commits into
opensearch-project:main
from
linuxpi:restrict-remote-store-index-settings
Aug 1, 2023
Merged
Restrict user overrides for remote store related index settings #8812
gbbafna
merged 11 commits into
opensearch-project:main
from
linuxpi:restrict-remote-store-index-settings
Aug 1, 2023
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
Gradle Check (Jenkins) Run Completed with:
|
linuxpi
force-pushed
the
restrict-remote-store-index-settings
branch
from
July 21, 2023 06:33
65c2168
to
8e73972
Compare
Gradle Check (Jenkins) Run Completed with:
|
linuxpi
requested review from
reta,
anasalkouz,
andrross,
Bukhtawar,
CEHENKLE,
dblock,
gbbafna,
setiah,
kartg,
kotwanikunal,
mch2,
nknize,
owaiskazi19,
Rishikesh1159,
ryanbogan,
saratvemulapalli,
shwetathareja,
dreamer-89,
tlfeng,
VachaShah,
dbwiddis and
sachinpkale
as code owners
July 21, 2023 07:21
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
linuxpi
force-pushed
the
restrict-remote-store-index-settings
branch
from
July 21, 2023 08:58
942abe0
to
036c85d
Compare
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
linuxpi
force-pushed
the
restrict-remote-store-index-settings
branch
from
July 31, 2023 17:47
dc05c60
to
2e9b461
Compare
Gradle Check (Jenkins) Run Completed with:
|
linuxpi
force-pushed
the
restrict-remote-store-index-settings
branch
from
August 1, 2023 02:38
2e9b461
to
dddc2b9
Compare
Gradle Check (Jenkins) Run Completed with:
|
…reRepositoryTests Signed-off-by: bansvaru <bansvaru@amazon.com>
…ndex settings Signed-off-by: bansvaru <bansvaru@amazon.com>
linuxpi
force-pushed
the
restrict-remote-store-index-settings
branch
from
August 1, 2023 03:42
dddc2b9
to
839aa94
Compare
Gradle Check (Jenkins) Run Completed with:
|
gbbafna
approved these changes
Aug 1, 2023
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.
LGTM.
Signed-off-by: Gaurav Bafna <85113518+gbbafna@users.noreply.github.com>
Gradle Check (Jenkins) Run Completed with:
|
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-8812-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 66ea4b3d736d676880b776039e0b901707cf7e7c
# Push it to GitHub
git push --set-upstream origin backport/backport-8812-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.x Then, create a pull request where the |
linuxpi
added a commit
to linuxpi/OpenSearch
that referenced
this pull request
Aug 1, 2023
…search-project#8812) Signed-off-by: Varun Bansal <bansvaru@amazon.com> (cherry picked from commit 66ea4b3)
6 tasks
linuxpi
added a commit
to linuxpi/OpenSearch
that referenced
this pull request
Aug 3, 2023
…search-project#8812) Signed-off-by: Varun Bansal <bansvaru@amazon.com> (cherry picked from commit 66ea4b3)
6 tasks
kaushalmahi12
pushed a commit
to kaushalmahi12/OpenSearch
that referenced
this pull request
Sep 12, 2023
…search-project#8812) Signed-off-by: Varun Bansal <bansvaru@amazon.com> Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
brusic
pushed a commit
to brusic/OpenSearch
that referenced
this pull request
Sep 25, 2023
…search-project#8812) Signed-off-by: Varun Bansal <bansvaru@amazon.com> Signed-off-by: Ivan Brusic <ivan.brusic@flocksafety.com>
shiv0408
pushed a commit
to Gaurav614/OpenSearch
that referenced
this pull request
Apr 25, 2024
…search-project#8812) Signed-off-by: Varun Bansal <bansvaru@amazon.com> Signed-off-by: Shivansh Arora <hishiv@amazon.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.
Short Description
This change ensures user cannot tinker with any remote store related index settings. This will ensure our clusters remain homogeneous i.e. either the cluster has all remote enabled indices or no remote enabled indices.
Detailed Description
With this change we are restricting the following index level settings:
user will not be able to override these settings while creating an index.
If following cluster level settings are set then we will inject the above settings with the corresponding cluster level settings mentioned below.
Related Issues
Resolves #8770
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.