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

plug in LedgerWindow #879

Merged
merged 2 commits into from
Aug 8, 2018
Merged

plug in LedgerWindow #879

merged 2 commits into from
Aug 8, 2018

Conversation

rob-solana
Copy link
Contributor

No description provided.

@rob-solana rob-solana force-pushed the ra-window branch 2 times, most recently from 3ce5016 to 64ae794 Compare August 6, 2018 19:37
@rob-solana rob-solana requested a review from garious August 6, 2018 19:43
@rob-solana
Copy link
Contributor Author

the depths to which I had to plumb options and &mut Option<&mut LedgerWindow> makes me think there's a better way

@rob-solana rob-solana added the work in progress This isn't quite right yet label Aug 6, 2018
@rob-solana
Copy link
Contributor Author

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>,
Copy link
Contributor

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?

Copy link
Contributor Author

@rob-solana rob-solana Aug 7, 2018

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

Copy link
Contributor Author

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

@rob-solana rob-solana removed the work in progress This isn't quite right yet label Aug 8, 2018
@rob-solana rob-solana merged commit 9995342 into solana-labs:master Aug 8, 2018
@rob-solana rob-solana deleted the ra-window branch August 8, 2018 21:45
brooksprumo pushed a commit to brooksprumo/solana that referenced this pull request Apr 18, 2024
…gram_accounts()` (solana-labs#879)

Removes the owner form the result of filter_executable_program_accounts().
Updates the description of the function.
Lichtso added a commit to Lichtso/solana that referenced this pull request Nov 7, 2024
Lichtso added a commit to Lichtso/solana that referenced this pull request Nov 7, 2024
Lichtso added a commit to Lichtso/solana that referenced this pull request Nov 7, 2024
* 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.
Lichtso added a commit to Lichtso/solana that referenced this pull request Nov 7, 2024
KirillLykov pushed a commit to KirillLykov/solana that referenced this pull request Nov 8, 2024
* 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.
yihau pushed a commit to yihau/solana that referenced this pull request Nov 26, 2024
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants