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

fix: Don't unwrap send attempt to oneshot channel #17566

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

nameexhaustion
Copy link
Collaborator

@nameexhaustion nameexhaustion commented Jul 11, 2024

Closes #17565
Closes #16915

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Jul 11, 2024
@nameexhaustion nameexhaustion marked this pull request as ready for review July 11, 2024 07:46
Copy link
Member

@stinodego stinodego left a comment

Choose a reason for hiding this comment

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

Thanks - let's hope this addresses #17565 . If not, I will re-open the issue and we can take another look.

Copy link

codecov bot commented Jul 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.49%. Comparing base (daf2e49) to head (2276553).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #17566   +/-   ##
=======================================
  Coverage   80.48%   80.49%           
=======================================
  Files        1483     1483           
  Lines      195118   195194   +76     
  Branches     2778     2778           
=======================================
+ Hits       157039   157117   +78     
+ Misses      37568    37566    -2     
  Partials      511      511           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kszlim
Copy link
Contributor

kszlim commented Jul 11, 2024

@nameexhaustion what happens in the failure case? Does it need to be retried or something? I have personally encountered this issue before too in #16915

@nameexhaustion
Copy link
Collaborator Author

@nameexhaustion what happens in the failure case? Does it need to be retried or something? I have personally encountered this issue before too in #16915

No, we don't retry - the channel receiver / async task is cancelled, so the result is not needed. I don't believe there to be any other case.

@ritchie46 ritchie46 merged commit 5c821a2 into pola-rs:main Jul 11, 2024
24 checks passed
@nameexhaustion nameexhaustion deleted the tx-send branch July 19, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars rust Related to Rust Polars
Projects
None yet
4 participants