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 #8334] fix: irreducible reference count of mapped file caused by held tiered storage's dispatch #8335

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

bxfjb
Copy link
Contributor

@bxfjb bxfjb commented Jun 27, 2024

Which Issue(s) This PR Fixes

Fixes #8334

Brief Description

How Did You Test This Change?

@codecov-commenter
Copy link

codecov-commenter commented Jun 27, 2024

Codecov Report

Attention: Patch coverage is 45.45455% with 12 lines in your changes missing coverage. Please review.

Project coverage is 43.86%. Comparing base (b31e0ce) to head (90a20af).
Report is 2 commits behind head on develop.

Files Patch % Lines
...q/tieredstore/core/MessageStoreDispatcherImpl.java 40.00% 7 Missing and 5 partials ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8335      +/-   ##
=============================================
+ Coverage      43.21%   43.86%   +0.65%     
- Complexity     10526    10633     +107     
=============================================
  Files           1274     1274              
  Lines          88940    88945       +5     
  Branches       11434    11435       +1     
=============================================
+ Hits           38433    39017     +584     
+ Misses         45804    45001     -803     
- Partials        4703     4927     +224     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

cserwen
cserwen previously approved these changes Jun 27, 2024
@cserwen cserwen requested a review from lizhimins July 1, 2024 11:35
break;
}
flatFile.addMessage(message);
Copy link
Member

Choose a reason for hiding this comment

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

227 行,append CommitLog 的时候会有 this.bufferResultList.add(message); 这里是重复了吗?

正常会在 MessageStoreDispatcherImpl#commitAsync 这里释放引用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants