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

[Cursor] add return statement to exit asyncMarkDelete early on failure #10272

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

michaeljmarshall
Copy link
Member

Motivation

In reading through the message expiration code, I noticed that there is a case where we call markDeleteFailed on a callback, but don't subsequently return from the method.

For background, any other time we call the markDeleteFailed method, we either call return or exit the method because it is part of a callback.

Verifying this change

None. I think this change is obvious enough that it doesn't require any validation. Please let me know if more validation is required.

@sijie sijie added this to the 2.8.0 milestone Apr 20, 2021
@sijie sijie added component/storage release/2.7.2 type/bug The PR fixed a bug or issue reported a bug labels Apr 20, 2021
@merlimat merlimat merged commit f489a92 into apache:master Apr 20, 2021
eolivelli pushed a commit that referenced this pull request Apr 29, 2021
@eolivelli eolivelli added the cherry-picked/branch-2.7 Archived: 2.7 is end of life label Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/branch-2.7 Archived: 2.7 is end of life release/2.7.2 type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants