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

Cap repair requests timeout #958

Merged
merged 1 commit into from
Aug 23, 2018

Conversation

sakridge
Copy link
Member

@sakridge sakridge commented Aug 13, 2018

When nodes get too far behind they can spend 3-4 seconds just sending 1 or 2 repair requests. These can get dropped or go to nodes which don't have the blob yet, so send repair requests at ~64 blobs received which may give them a better chance to catch up.

@sakridge sakridge added the work in progress This isn't quite right yet label Aug 13, 2018
@sakridge sakridge force-pushed the cap-repair-request-backoff branch from 52ff5a5 to a6e96d0 Compare August 13, 2018 17:44
@sakridge sakridge force-pushed the cap-repair-request-backoff branch from a6e96d0 to b4a47e6 Compare August 16, 2018 18:55
@garious
Copy link
Contributor

garious commented Aug 20, 2018

How about they exit() instead? Keep up or restart.

@sakridge
Copy link
Member Author

I'm not sure how it helps because then they have to do a bunch of extra work to catch up and then they are even further behind.

@garious
Copy link
Contributor

garious commented Aug 21, 2018

This particular feature could run under the premise that a node is able to enter the network successfully. Falling behind might suggest a memory leak that causes the validator not to be able to process transactions as quickly as it did when it entered. Restarting might make it a useful miner again until the said leak forces it to restart once again. It's easy to imagine a profitable validator restarting daily.

@sakridge sakridge removed the work in progress This isn't quite right yet label Aug 23, 2018
@sakridge sakridge merged commit 6147e54 into solana-labs:master Aug 23, 2018
@sakridge sakridge deleted the cap-repair-request-backoff branch August 23, 2018 22:30
vkomenda pushed a commit to vkomenda/solana that referenced this pull request Aug 29, 2021
* Add extra check on instruction fuzz

* Refactor division

* Fix tests from fixed deposit math

* Fixup comments and cleanup fuzz

* Run fmt

* Address review feedback

* Fix JS test
brooksprumo added a commit to brooksprumo/solana that referenced this pull request Apr 22, 2024
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