-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add support to run RemoteStoreIT with S3 integration #17578
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
Conversation
69d4564 to
793eef2
Compare
793eef2 to
a50b2f8
Compare
|
❌ Gradle check result for a50b2f8: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
a50b2f8 to
44994aa
Compare
|
❌ Gradle check result for 44994aa: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
44994aa to
1ea0a59
Compare
|
❌ Gradle check result for 1ea0a59: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Ashish Singh <ssashish@amazon.com>
1ea0a59 to
0dfb787
Compare
|
❌ Gradle check result for 0dfb787: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 0dfb787: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17578 +/- ##
============================================
- Coverage 72.43% 72.37% -0.07%
+ Complexity 65721 65664 -57
============================================
Files 5311 5311
Lines 304941 304937 -4
Branches 44228 44226 -2
============================================
- Hits 220890 220686 -204
- Misses 65952 66125 +173
- Partials 18099 18126 +27 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The change is to make log level from warn to debug due to it's noisy nature. The codecov does not represent the change truly. |
…ect#17578) Signed-off-by: Ashish Singh <ssashish@amazon.com> Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
|
The backport to To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-17578-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 127501789334d6deb19d206bf76d8475a9e27c54
# Push it to GitHub
git push --set-upstream origin backport/backport-17578-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.xThen, create a pull request where the |
Description
As part of #15333, read context in RemoteStoreRefreshListener is changed from
DEFAULTtoREADONCE. This led to failures withjava.lang.WrongThreadException: Attempted access outside owning threadduring segments upload to remote store esp with s3-repository plugin.Remote store integ tests use FsRepository but as the implementation changes for repository-s3, ideally we need to integ tests that talk directly to s3. We will take this up as a follow-up task.
In this PR, we are adding the main RemoteStoreIT is being run with local FS and S3 as well.
Check List
[ ] API changes companion pull request created, if applicable.[ ] Public documentation issue/PR created, if applicable.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.