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

Collector: improve logging of graceful stream shutdown #118

Merged
merged 8 commits into from
Mar 22, 2023

Conversation

jmacd
Copy link
Collaborator

@jmacd jmacd commented Mar 17, 2023

Manually test and improve the logs of an Arrow bridge configured with short-lived streams.
These logs no longer print spurious and duplicate information, since both streams handle two directions of error handling.
Errors are printed at Debug level if they are normal conditions. With this change, the bridge can shutdown streams gracefully with no unusual logging activity.

Part of #119.

@jmacd jmacd requested a review from lquerel March 17, 2023 05:21
Copy link
Contributor

@lquerel lquerel left a comment

Choose a reason for hiding this comment

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

LGTM

@jmacd
Copy link
Collaborator Author

jmacd commented Mar 21, 2023

I still need to fix the exporter side, receiver-side races are I think fixed in my latest commit.

@lquerel lquerel merged commit a5623c0 into f5:main Mar 22, 2023
@jmacd jmacd deleted the jmacd/grace branch March 22, 2023 16:56
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.

3 participants