-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support reloading consuming segment using force commit #9640
Support reloading consuming segment using force commit #9640
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
baad5f2
to
07a6ad7
Compare
@Jackie-Jiang I will go ahead and delete the PR I started as you pushed the change here. Thanks for driving it as I have been real busy at work these days |
@jugomezv Thanks for trying it out. I didn't realize it requires changing the integration test in the beginning |
07a6ad7
to
6bbce06
Compare
6bbce06
to
7fa61a3
Compare
Codecov Report
@@ Coverage Diff @@
## master #9640 +/- ##
=============================================
+ Coverage 28.09% 68.58% +40.49%
- Complexity 53 5308 +5255
=============================================
Files 1935 1947 +12
Lines 103815 104145 +330
Branches 15758 15790 +32
=============================================
+ Hits 29162 71431 +42269
+ Misses 71780 27664 -44116
- Partials 2873 5050 +2177
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
7fa61a3
to
e49842b
Compare
} | ||
LOGGER.info("Reloading (force committing) LLC consuming segment: {} in table: {}", segmentName, | ||
tableNameWithType); | ||
((LLRealtimeSegmentDataManager) segmentDataManager).forceCommit(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So forceCommit
is async ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it is async. We can only signal the segment to perform the commit
Another try of #9310