Skip to content

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

Merged
roryqi merged 1 commit intoapache:masterfrom
xianjingfeng:issue_364
Nov 22, 2022
Merged

[ISSUE-364] Fix indexWriter don't close if exception thrown when close dataWriter#349
roryqi merged 1 commit intoapache:masterfrom
xianjingfeng:issue_364

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

@roryqi roryqi 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

@roryqi roryqi merged commit dea310b into apache:master Nov 22, 2022
roryqi 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.
@xianjingfeng xianjingfeng deleted the issue_364 branch August 9, 2024 06:46
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