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

Can't receive events after the probe is restarted #34

Closed
dxsup opened this issue Feb 10, 2022 · 3 comments
Closed

Can't receive events after the probe is restarted #34

dxsup opened this issue Feb 10, 2022 · 3 comments
Assignees
Labels
area/collector Issues or PRs related to agent metric collector area/probe Issues or PRs related to agent probe

Comments

@dxsup
Copy link
Member

dxsup commented Feb 10, 2022

Describe the bug
Can't receive events after the probe is restarted.
What you expected to happen
The collector is supposed to receive events from the probe.
How to reproduce
Start kindling and restart the probe, then you will see the collector can't receive any events.
Additional context
The collector starts to receive events after sending the subscribing events. The root cause of this bug is that after the probe is restarted, it loses information about subscribing in which case it won't send events.
Therefore, to fix this bug, the feature that the collector can resend the subscribing events is requested.

@jundizhou
Copy link
Collaborator

I need to investigate the reconnection mechanism of zeromq

There are three situations:

First, the probe is restarted, but the collector is alive

Second, the probe is alive, but the collector restarts

Third, probe and collector are all restarted

Maybe zeromq can support disconnection detection, and maybe we need to do process detection ourselves

@dxsup
Copy link
Member Author

dxsup commented Feb 18, 2022

#51 temporarily avoids the happening of this issue, though the solution doesn't really solve it. I'll retain this issue open to tracking a more complete solution.

@dxsup
Copy link
Member Author

dxsup commented Jun 27, 2022

This issue is invalid after merging #264 because there is only one container now.

@dxsup dxsup closed this as completed Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/collector Issues or PRs related to agent metric collector area/probe Issues or PRs related to agent probe
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants