You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deleting routing, if there is a request, it will cause the newly deleted endpoint to be recreated;
If there is a request between the clear_ciewed_endpoints and clear_demote_Service in the routing_manager_impl:: del_routing_info function, the endpoint will be recreated;The specific trigger point code is as follows:
if (has_reliable) {
ep_mgr_impl->clear_client_endpoints(_service, instance, true);
// If there is a request for the service during this time period, the endpoint will be recreated
ep_mgr_impl->clear_remote_service_info(_service, _instance, true);
}
Reproduction Steps
Stop sending SD messages during the ttl time period defined by the service;
Afterwards, send high-frequency request requests;
Expected behaviour
After deleting the endpoint in the del_routing_info function, wait for the SD message to be resent before creating the endpoint,To avoid creating endpoints when sending SD messages again;
bao0711
changed the title
[BUG]: <title>When deleting routing, if there is a request, it will cause the newly deleted endpoint to be recreated
[BUG]: When deleting routing, if there is a request, it will cause the newly deleted endpoint to be recreated
Dec 2, 2024
vSomeip Version
v3.1.14.1
Boost Version
1.71
Environment
android
Describe the bug
When deleting routing, if there is a request, it will cause the newly deleted endpoint to be recreated;
If there is a request between the clear_ciewed_endpoints and clear_demote_Service in the routing_manager_impl:: del_routing_info function, the endpoint will be recreated;The specific trigger point code is as follows:
if (has_reliable) {
ep_mgr_impl->clear_client_endpoints(_service, instance, true);
// If there is a request for the service during this time period, the endpoint will be recreated
ep_mgr_impl->clear_remote_service_info(_service, _instance, true);
}
Reproduction Steps
Expected behaviour
After deleting the endpoint in the del_routing_info function, wait for the SD message to be resent before creating the endpoint,To avoid creating endpoints when sending SD messages again;
Logs and Screenshots
// ===== Execute here clear_client_dedpoints: _ service: 257 _ instance: 2
// ===== Execute here request : _ service: 257 _ instance: 2
// ===== Execute here clear_remote_service_info : _ service: 257 _ instance: 2
The text was updated successfully, but these errors were encountered: