-
Notifications
You must be signed in to change notification settings - Fork 16
implement gc thread model #285
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
Conversation
dbd62d7
to
317da1f
Compare
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #285 +/- ##
==========================================
- Coverage 63.15% 58.65% -4.51%
==========================================
Files 32 34 +2
Lines 1900 3391 +1491
Branches 204 400 +196
==========================================
+ Hits 1200 1989 +789
- Misses 600 1193 +593
- Partials 100 209 +109 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
346e250
to
ccaea57
Compare
bc099bf
to
9ffc30d
Compare
9ffc30d
to
512233a
Compare
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.
The data copy logic is not fully done so just comment a bit based on what we have.
Data copy logic provides good details which is helpful for understanding the thread model however when merging lets try to separate them
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.
thanks @xiaoxichen for the comments, I will rebase and update this PR
task.complete(false); | ||
return; | ||
} | ||
auto selected_chunk = m_chunk_selector->select_specific_chunk(move_from_vchunk->m_pg_id.value(), |
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.
this is good point. I thought select_specific_chunk
will take a chunk out of the chunk heap and not available for creating a shard , seems the logic here has been changed.
I will thing about this , thanks.
aa835fd
to
acfa761
Compare
acfa761
to
413f5e3
Compare
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 in general
e09eaad
to
fb186ce
Compare
fb186ce
to
914575e
Compare
@xiaoxichen I have removed the fun you mentioned , ptal |
this is only framwork, will add UT after we have data copy logic