-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(shred-network): keep up with turbine (#493)
* fix(shred-network): keep up with turbine * feat(shred-network): simplify repair logic, remove metric-like logging, try to complete slots more eagerly * fix(shred-network): tests + linting * fix(shred-network): test * fix(repair) add jitter to handle edge case where all the following are true: - we're caught at least 1024 slots behind or turbine isn't working - the current bottom slot is skipped - the next slot is skipped - the slot 25 slots ahead is also skipped with jitter, we only run into a problem if there are also 40 consecutive slots that are skipped, which is practically impossible * grafan: update shred collector dashboard * refactor(ledger): switch formatting Signed-off-by: Drew Nutter <[email protected]> * refactor(shred-network): function spacing Signed-off-by: Drew Nutter <[email protected]> * feat(time): expand Instant to support shred repair Signed-off-by: Drew Nutter <[email protected]> * rename rng to prng * fix timer usage * refactor(time,repair): use Duration for repair sleep delay * remove unused * rename shred collector to shred network * docs: shred network cli args --------- Signed-off-by: Drew Nutter <[email protected]>
- Loading branch information
Showing
14 changed files
with
1,131 additions
and
444 deletions.
There are no files selected for viewing
765 changes: 623 additions & 142 deletions
765
...a/dashboards/shred_collector_metrics.json → ...ana/dashboards/shred_network_metrics.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.