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

Log messages for CommClosedError now includes information about remote address #5209

Merged
merged 2 commits into from
Aug 20, 2021

Conversation

fjetter
Copy link
Member

@fjetter fjetter commented Aug 13, 2021

Logs like these may pop up on scheduler side. Depending on your logging system it can be quite helpful to know who the other side is.

Closes #5202

@fjetter
Copy link
Member Author

fjetter commented Aug 13, 2021

Might close #5202 ?

@mrocklin
Copy link
Member

Might close #5202 ?

Maybe there are other places where we raise a CommClosedError?

@fjetter fjetter force-pushed the enrich_log_commclosed_handle_stream branch from c3426e5 to 9b51554 Compare August 13, 2021 12:44
@fjetter fjetter changed the title Better log message on listener side if CommClosedError Log messages for CommClosedError now should include information about remote address Aug 13, 2021
@fjetter fjetter changed the title Log messages for CommClosedError now should include information about remote address Log messages for CommClosedError now includes information about remote address Aug 13, 2021
@fjetter
Copy link
Member Author

fjetter commented Aug 13, 2021

I went through all logs and raises and adjusted the messages accordingly. Together with #5203 all exceptions should now be much more informative

@mrocklin
Copy link
Member

Checking in. What is the status here?

@mrocklin
Copy link
Member

@crusaderky do you have time to review? This seems like it would be easy for you.

distributed/batched.py Outdated Show resolved Hide resolved
distributed/core.py Outdated Show resolved Hide resolved
@crusaderky
Copy link
Collaborator

crusaderky commented Aug 19, 2021

Asides trivial cosmetic issues everything LGTM

Co-authored-by: crusaderky <crusaderky@gmail.com>
Copy link
Member

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

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

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.

Include Peer address in CommClosedError
4 participants