-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
plug in LedgerWindow #879
plug in LedgerWindow #879
Conversation
3ce5016
to
64ae794
Compare
the depths to which I had to plumb options and &mut Option<&mut LedgerWindow> makes me think there's a better way |
the large network test takes longer to converge and does so less often. I think this is because a disk seek and read in the gossip pipeline is hurting us. I think repair requests from disk may need their own stage/thread, whatever. |
@@ -954,6 +955,7 @@ impl Crdt { | |||
} | |||
fn run_window_request( | |||
window: &SharedWindow, | |||
ledger_window: &mut Option<&mut LedgerWindow>, |
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.
Why is the Option
&mut
?
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.
it was the only way I could figure out how to get the ledgerwindow through a Builder(|move| and a loop
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.
if you're on the Rust server, you can look up my question in #beginners
…gram_accounts()` (solana-labs#879) Removes the owner form the result of filter_executable_program_accounts(). Updates the description of the function.
…able_program_accounts()` (solana-labs#879)" This reverts commit 5fe30cb.
…able_program_accounts()` (solana-labs#879)" This reverts commit 5fe30cb.
* Revert "Cleanup - Removes the owner form the result of `filter_executable_program_accounts()` (solana-labs#879)" This reverts commit 5fe30cb. * Revert "Refactor - Remove `program_accounts_map` from account_loader (solana-labs#768)" This reverts commit e7617a1.
…able_program_accounts()` (solana-labs#879)" This reverts commit 5fe30cb.
* Revert "Cleanup - Removes the owner form the result of `filter_executable_program_accounts()` (solana-labs#879)" This reverts commit 5fe30cb. * Revert "Refactor - Remove `program_accounts_map` from account_loader (solana-labs#768)" This reverts commit e7617a1.
…a-labs#3521) (solana-labs#3544) Revert - solana-labs#879 and solana-labs#768 (solana-labs#3521) * Revert "Cleanup - Removes the owner form the result of `filter_executable_program_accounts()` (solana-labs#879)" This reverts commit 5fe30cb. * Revert "Refactor - Remove `program_accounts_map` from account_loader (solana-labs#768)" This reverts commit e7617a1. (cherry picked from commit 57bdb8e) Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
No description provided.