Fix issue with updating core with a patch number other than 0#19377
Fix issue with updating core with a patch number other than 0#19377sandeshkr419 merged 4 commits intoopensearch-project:mainfrom
Conversation
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #19377 +/- ##
============================================
- Coverage 73.09% 73.08% -0.01%
- Complexity 70702 70752 +50
============================================
Files 5725 5725
Lines 323795 323793 -2
Branches 46882 46882
============================================
- Hits 236684 236656 -28
- Misses 68013 68108 +95
+ Partials 19098 19029 -69 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Craig Perkins <cwperx@amazon.com>
|
❌ Gradle check result for 891235b: 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 891235b: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Done. |
* Fix issue with updating core with a patch number other than 0 Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add to CHANGELOG Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com> (cherry picked from commit 4094287) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
Backporting to 3.3 branch to facilitate (potential) 3.3.1 patch release. Ref discussion: #19660 |
… than 0 (#19667) * Fix issue with updating core with a patch number other than 0 (#19377) * Fix issue with updating core with a patch number other than 0 Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add to CHANGELOG Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com> (cherry picked from commit 4094287) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update CHANGELOG to remove unwanted Removed several fixed issues from the CHANGELOG. Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Sandesh Kumar <sandeshkr419@gmail.com>
…arch-project#19377) * Fix issue with updating core with a patch number other than 0 Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add to CHANGELOG Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com>
…arch-project#19377) * Fix issue with updating core with a patch number other than 0 Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add to CHANGELOG Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com>
Description
While researching opensearch-project/opensearch-build#5720, I ran into an issue where I could not version bump the core to 3.3.1 and run
./gradlew localDistrosuccessfully. It would run into the following error:The reason for this is that it hit this block which is only triggered when the minor and patch version are both non-zero. When the patch number is 0 (as it is with any minor version bump) then the condition never gets triggered.
This PR resolves the issue by removing references to the Legacy ES version numbers which are more than 2 major versions in the past at this point.
Related Issues
Related to opensearch-project/opensearch-build#5720
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.