Skip to content

Conversation

@LuciferYang
Copy link
Contributor

What changes were proposed in this pull request?

This pr just remove redundant LevelDB.get(key) in RemoteBlockPushResolver.

Why are the changes needed?

This is no need to check db.get(key) != null before db.delete(key). LevelDB will handle this scene.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass GitHub Actions

@github-actions github-actions bot added the CORE label Aug 8, 2022
@LuciferYang
Copy link
Contributor Author

LuciferYang commented Aug 8, 2022

This minor change should not be coupled with the refactoring work of SPARK-38909, I think this change may worth doing even if SPARK-38909 is not accepted in the end.

@mridulm mridulm closed this in 1fed903 Aug 8, 2022
@mridulm
Copy link
Contributor

mridulm commented Aug 8, 2022

Merged to master.
Thanks for the PR @LuciferYang !
Thanks for the review @srowen :-)

@LuciferYang
Copy link
Contributor Author

thanks @srowen @mridulm ~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants