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

Issue #336: Added throttling of repair messages (will add the retransmission of repair messages logic soon) #371

Closed
wants to merge 1 commit into from

Conversation

carllin
Copy link
Contributor

@carllin carllin commented Jun 17, 2018

@carllin carllin changed the title Issue #336: Added retransmission of repair messages Issue #336: Added throtling of repair messages Jun 17, 2018
@carllin carllin changed the title Issue #336: Added throtling of repair messages Issue #336: Added throttling of repair messages Jun 17, 2018
Copy link
Contributor

@garious garious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking this on! Just a heads up, the team will be slow to reply today and tomorrow.

Are you able write tests for this?

@@ -611,6 +622,10 @@ impl Crdt {
//come up with a cleaner solution for this when sender signatures are checked
outblob.set_id(from.id).expect("blob set_id");
}

drop(rblob);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of dropping that, can you pass it back to the recycler?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem, I'll add some tests. Here, I just wanted to release the read lock so that I can obtain the write lock to modify the blob, not free the underlying blob to the recycler.

@carllin carllin changed the title Issue #336: Added throttling of repair messages Issue #336: Added throttling of repair messages (will add the retransmission of repair messages logic soon) Jun 17, 2018
@carllin carllin closed this Jun 17, 2018
vkomenda pushed a commit to vkomenda/solana that referenced this pull request Aug 29, 2021
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