-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
AcctIdx: cleanup bg threads #20731
AcctIdx: cleanup bg threads #20731
Conversation
bc8ce99
to
07f6ad9
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.
Looks good to me. No need for a re-review if you want to change _bg_threads
or not.
// bg_threads is 'never used'. It is only used to manage the lifetime | ||
#[allow(dead_code)] |
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.
Instead of the #[allow(dead_code)]
, would an underscore on bg_threads
work too? (i.e. _bg_threads
)
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.
good idea. done.
07f6ad9
to
f28f636
Compare
Pull request has been modified.
Codecov Report
@@ Coverage Diff @@
## master #20731 +/- ##
=========================================
- Coverage 81.9% 81.8% -0.1%
=========================================
Files 495 495
Lines 138041 138092 +51
=========================================
- Hits 113072 113060 -12
- Misses 24969 25032 +63 |
This reverts part of commit 47de4f3.
This reverts part of commit 47de4f3.
This reverts part of commit 47de4f3.
This reverts part of commit 47de4f3.
* Revert part of "AcctIdx: cleanup bg threads (solana-labs#20731)" This reverts part of commit 47de4f3. * change bg waiting metrics to percent
This reverts commit 7708869.
Problem
Refactoring, cleanup to make bg threads and lifetimes more clear.
Also got rid of threads on BucketMapHolder
Summary of Changes
Fixes #