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

[ISSUE-364] Fix indexWriter don't close if exception thrown when close dataWriter #349

Merged
merged 1 commit into from
Nov 22, 2022

Conversation

xianjingfeng
Copy link
Member

What changes were proposed in this pull request?

Fix indexWriter don't close if exception thrown when close dataWriter

Why are the changes needed?

It's a bug

Does this PR introduce any user-facing change?

No

How was this patch tested?

I think it's not necessary, because it's too simple.

@codecov-commenter
Copy link

Codecov Report

Merging #349 (59a96cb) into master (5b5acb5) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #349      +/-   ##
============================================
+ Coverage     58.40%   58.42%   +0.01%     
  Complexity     1554     1554              
============================================
  Files           193      193              
  Lines         10763    10758       -5     
  Branches        937      935       -2     
============================================
- Hits           6286     6285       -1     
+ Misses         4104     4102       -2     
+ Partials        373      371       -2     
Impacted Files Coverage Δ
.../storage/handler/impl/HdfsShuffleWriteHandler.java 87.09% <100.00%> (+2.02%) ⬆️
...a/org/apache/uniffle/coordinator/QuotaManager.java 88.63% <0.00%> (+4.54%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@jerqi jerqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @xianjingfeng

@jerqi jerqi merged commit dea310b into apache:master Nov 22, 2022
jerqi pushed a commit that referenced this pull request Nov 28, 2022
…ose dataWriter (#349)

### What changes were proposed in this pull request?
Fix `indexWriter` don't close if exception thrown when close dataWriter

### Why are the changes needed?
It's a bug

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
I think it's not necessary, because it's too simple.
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] indexWriter don't close if exception thrown when close dataWriter in HdfsShuffleWriteHandler
3 participants