Skip to content
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

Fix snapshot deletion task getting stuck in the event of exceptions #628

Closed
wants to merge 9 commits into from
Closed

Fix snapshot deletion task getting stuck in the event of exceptions #628

wants to merge 9 commits into from

Conversation

AmiStrn
Copy link
Contributor

@AmiStrn AmiStrn commented Apr 28, 2021

Description

The snapshot deletion task would get stuck in the event of a bulk delete that resulted in some exceptions. Due to a bug in the recursive function handling the deletion calls.

Issues Resolved

fixes #627

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

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.

nknize and others added 9 commits April 11, 2021 23:29
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
This commit fixes VersionTests and VersionUtilsTests to where all but the gradle
test is passing. Next the gradle version logic needs to be fixed to mirror
VersionUtils. Note that this implementation is a hack of the horrible versioning
hack implementation of the predecessor. The public issue will be updated to
solicit "help wanted" to rearchitect the versioning logic.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
Signed-off-by: Rabi Panda <adnapibar@gmail.com>
Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
This commit fixes the references to current version in several places. This resolves some of the failing tests.

* Fix reindex test failures.
* Fix license header for LegacyESVersion.
* Fix failing tests in ExceptionSerializationTests.
* Fix failing tests in NodeJoinControllerTests.
* Fix failing tests in ListPluginsCommandTests.
* Fix parent-join yaml rest test, change the version used in the yaml and remove redundant setup sections.
* Fix failing tests in EdgeNGramTokenizerTests.

Signed-off-by: Rabi Panda <adnapibar@gmail.com>
### Description
syncing my fork 


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](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin).
# Conflicts:
#	buildSrc/src/main/java/org/opensearch/gradle/BwcVersions.java
#	buildSrc/version.properties
#	server/src/main/java/org/opensearch/LegacyESVersion.java
#	server/src/main/java/org/opensearch/Version.java
#	server/src/test/java/org/opensearch/BuildTests.java
#	server/src/test/java/org/opensearch/VersionTests.java
#	server/src/test/java/org/opensearch/common/lucene/uid/VersionsTests.java
#	server/src/test/java/org/opensearch/discovery/zen/NodeJoinControllerTests.java
@AmiStrn AmiStrn closed this Apr 28, 2021
@odfe-release-bot
Copy link

❌   DCO Check Failed 85b5d05
Run ./dev-tools/signoff-check.sh remotes/origin/main 85b5d05a609f530175df8121512a184068323459 to check locally
Use git commit with -s to add 'Signed-of-by: {EMAIL}' on impacted commits

@AmiStrn
Copy link
Contributor Author

AmiStrn commented Apr 28, 2021

something went wrong with this branch, starting over...

ritty27 pushed a commit to ritty27/OpenSearch that referenced this pull request May 12, 2024
opensearch-project#628)

* move "software.amazon.awssdk" dependencies to the compileOnly scope.

Signed-off-by: Dmitry Kaukov <dkaukov@opentable.com>

* PR feedback

Signed-off-by: Dmitry Kaukov <dkaukov@opentable.com>

* PR feedback

Signed-off-by: Dmitry Kaukov <dkaukov@opentable.com>

---------

Signed-off-by: Dmitry Kaukov <dkaukov@opentable.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Snapshot deletion may get stuck in case of exceptions during bulk delete
4 participants