Skip to content

Best effort shutdown of opamp client#2738

Merged
breedx-splk merged 2 commits intosignalfx:mainfrom
breedx-splk:shutdown_opamp_client
Apr 7, 2026
Merged

Best effort shutdown of opamp client#2738
breedx-splk merged 2 commits intosignalfx:mainfrom
breedx-splk:shutdown_opamp_client

Conversation

@breedx-splk
Copy link
Copy Markdown
Contributor

No description provided.

@breedx-splk breedx-splk requested review from a team as code owners April 2, 2026 15:46
() -> {
try {
client.close();
} catch (IOException e) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'd consider catching Exception here. If something else that IOException is thrown here, and stderr is not redirected to log then we may see nothing in logs.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Imo it is not important. Often the exceptions that happen during shutdown are just noise anyway.

@breedx-splk breedx-splk merged commit 5849525 into signalfx:main Apr 7, 2026
30 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants