Please answer these questions before submitting your issue.
5.0.0-alpha
Invalid calls in getServiceTopology (refer to https://github.com/apache/incubator-skywalking-ui/issues/141)
I confirmed with the users, they clear ElasticSearch, but don't reboot the monitored application(agent). So no node register and calls between unexist nodes still happen. Which could trigger this problem.
@peng-yongsheng We may need to consider to check application instance id when we receive data.
If the check mechanism provided, agent may provide a re-register mechanism after receive invalid instance id, and all local caches could be removed. We need to remove the blocking in these uncompatible upgrade.
What do you think?
We can add a new service to check application id and instance id when agent reconnect to collector.
Flow is:
connect -> check
if(found){
return true then agent send segments to collector.
}else{
return false then
1. agent clean all the registered id cache
2. re-register application, instance
3. replace ids in segments or give up
}
This recheck service works for me. And I highly recommend we support this in beta2. @hanahmily @ascrutae @liuhaoyang @candyleer thoughts?
I will support this in .NET Agent v0.3.
Add check method into agent-collector protocol to avoid system exception when users clean all of the data in storage. It seems not the best solution.
Why users clean all of the data?
The best solution is:
Reset button to reset agents.
Most helpful comment
We can add a new service to check application id and instance id when agent reconnect to collector.
Flow is: