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

demotes WeightedShuffle failures to error metrics #24079

Merged

Conversation

behzadnouri
Copy link
Contributor

Problem

Since call-sites are calling unwrap anyways, panicking seems too punitive
for our use cases.

Summary of Changes

  • Demoted failures to error metrics

Since call-sites are calling unwrap anyways, panicking seems too punitive
for our use cases.
@behzadnouri behzadnouri merged commit 7cb3b6c into solana-labs:master Apr 3, 2022
@behzadnouri behzadnouri deleted the weighted-shuffle-err-metrics branch April 3, 2022 16:20
mergify bot pushed a commit that referenced this pull request Apr 3, 2022
Since call-sites are calling unwrap anyways, panicking seems too punitive
for our use cases.

(cherry picked from commit 7cb3b6c)
mergify bot added a commit that referenced this pull request Apr 3, 2022
Since call-sites are calling unwrap anyways, panicking seems too punitive
for our use cases.

(cherry picked from commit 7cb3b6c)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
mergify bot pushed a commit that referenced this pull request Apr 25, 2022
Since call-sites are calling unwrap anyways, panicking seems too punitive
for our use cases.

(cherry picked from commit 7cb3b6c)
mergify bot added a commit that referenced this pull request Apr 25, 2022
Since call-sites are calling unwrap anyways, panicking seems too punitive
for our use cases.

(cherry picked from commit 7cb3b6c)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
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.

1 participant