-
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
Upgrade aws-sdk-java version to 2.20.86 #12251
Upgrade aws-sdk-java version to 2.20.86 #12251
Conversation
❌ Gradle check result for e8672a7: 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? |
Compatibility status:Checks if related components are compatible with change 8f44cc4 Incompatible componentsIncompatible components: [https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/security-analytics.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/flow-framework.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/performance-analyzer.git, https://github.com/opensearch-project/sql.git] |
@sachinpkale could we go to the latest one? Or there are some quirks? |
Ideally, yes. We should go with latest version but being a bit defensive here. |
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.
Thanks Sachin,
Can we look at what set of issues between this version (2.20.86) and latest could potentially impact us from the change log
❌ Gradle check result for 8e15173: 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? |
Between 2.20.86 and latest version (2.25.6), there are 2292 commits. It would not be possible to understand how many of these are impacting OpenSearch interaction with the SDK but they could be significant. For example, 2.25.5 has a fix for S3 multipart client (https://github.com/aws/aws-sdk-java-v2/releases/tag/2.25.5) We can also setup dependabot to upgrade the version to latest (not changing the major version) one but not sure what kind of tests we need to add to make sure the new version does not break anything. |
8e15173
to
ec9ee26
Compare
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.
looks good to me. we can decouple this PR and follow it up for latest version update espl with stream upload support on S3SDK
❌ Gradle check result for ec9ee26: 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 86c6df7: 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: Sachin Kale <[email protected]>
Signed-off-by: Sachin Kale <[email protected]>
Signed-off-by: Sachin Kale <[email protected]>
86c6df7
to
8f44cc4
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #12251 +/- ##
============================================
+ Coverage 71.42% 71.50% +0.08%
- Complexity 59978 60060 +82
============================================
Files 4985 4985
Lines 282275 282395 +120
Branches 40946 40965 +19
============================================
+ Hits 201603 201925 +322
+ Misses 63999 63691 -308
- Partials 16673 16779 +106 ☔ View full report in Codecov by Sentry. |
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-12251-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 07fab0f89ebe9007e04b2fdd775cba0b4a9ffae1
# Push it to GitHub
git push --set-upstream origin backport/backport-12251-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.x Then, create a pull request where the |
* Upgrade aws-sdk version to 2.20.86 Signed-off-by: Sachin Kale <[email protected]> * Update SHAs Signed-off-by: Sachin Kale <[email protected]>
* Upgrade aws-sdk version to 2.20.86 * Update SHAs Signed-off-by: Sachin Kale <[email protected]>
* Upgrade aws-sdk version to 2.20.86 Signed-off-by: Sachin Kale <[email protected]> * Update SHAs Signed-off-by: Sachin Kale <[email protected]>
* Upgrade aws-sdk version to 2.20.86 Signed-off-by: Sachin Kale <[email protected]> * Update SHAs Signed-off-by: Sachin Kale <[email protected]> Signed-off-by: Shivansh Arora <[email protected]>
Description
Check List
[ ] New functionality includes testing.[ ] All tests pass[ ] New functionality has been documented.[ ] New functionality has javadoc added[ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)[ ] Public documentation issue/PR createdBy 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.