-
Notifications
You must be signed in to change notification settings - Fork 754
When the threshold is set to 1 in the configuration, the initial event sent for client 2 is always multicast rather than unicast. #763
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
Conversation
the initial event sent for client 2 is always multicast rather than unicast. Signed-off-by: Vignesh MURUGAPPAN <vignesh.murugappan@valeo.com>
@Vignesh-Murugappan if you read here: https://github.com/COVESA/vsomeip/blob/637fb6ccce969f89621660dd481badb29a90d661/documentation/vsomeipUserGuide#L662C1-L669C53
|
**Yes, you're correct. When the threshold is set to 1, the expectation is that all events should be multicast. However, no initial event is sent. According to PRS_SOMEIPSD_00487, an initial event should be sent to subscribers immediately after subscription acknowledgment for all new subscriptions. If a subscription is already active and is subsequently updated by a Subscribe Eventgroup entry, no initial events should be dispatched. In my case, when the threshold is set to 1, the initial event is received by the first subscriber but not by the second. In summary, when the threshold is 'N', initial events are sent to all 'N' subscribers, but not to the 'N+1'-th subscriber and so on. With the proposed change, the behavior aligns with expectations, and there are no issues observed with multicast or unicast behavior regardless of whether the threshold is set or not.** |
@duartenfonseca Thanks for your comment. Understand that this threshold parameter does not influence the working of initial event functionality i.e. initial event should be always over unicast. |
@duartenfonseca Could you please let me know your views on the above specification attached? |
Ensures buffer lifetime into async handler Revert Execution context of subscription handlers Ensure "shutdown_and_close" is called on "stop" Notify stop func when receives EOF during stop process Fix availability triggers on client error is_sending_ set to false on restart fix host assignment with non-local routing fix big_payload_test_local_tcp_queue_limited is_sending_ set to false when socket is not open reset multicast_id_ tse - fix linger options Allow daemon to send ADD_CLIENT to connected clients Fix Bad File Descriptor on UDP server Endpoints Support multiple IPsec activation files per connection Execution context of subscription handlers Global request debounce time Stop find/offer debounce timers Fix NSM logs with empty Container Id strings Add config for wait_route_netlink_notification Optimize data lookups Remove the get_mutex_ from runtime_impl lock registration_state_mutex_ before sending Fix REMOTE_ERROR on response protect request_debounce_timer_running_ Convert pending_sd_offers_ from vector to set Dont call shutdown_and_close if socket is connecting When the threshold is set to 1 in the configuration, the initial event sent for client 2 is always multicast rather than unicast. (#763) Small code modernizations (#835) Delay on event_tests Service application Removes remote_subscribers_ member variable Log the steps during suspend/resume Improve sd accept offer log Do not log when doing nothing start endpoint only on creation reset request_debounce_timer_running_ Reset routing root on net_state_change off Added additional offer check Remove interface index in RTM_DELLINK Perform endpoint port assignment on vnet on Unspecify catch exception Remove pending subscriptions after on subscription call Update documentation and logs Enable global dispatch settings Enable configuration of client-specific debouncing Fix incorrect microsecond extraction in logging timestamps (#844) Vsomeip dissector v0.3 Reduce npdu_tests timeout Network-tests: debounce tests Disable dlt-daemon for network-tests Updates cmake to build hello_world example Wrap options are linker flags (#780) test/common/CMakeLists.txt: add missing link with dlt (#602) force on_availability IO threads exit mitigation
Changes: Ensures buffer lifetime into async handler Revert Execution context of subscription handlers Ensure "shutdown_and_close" is called on "stop" Notify stop func when receives EOF during stop process Fix availability triggers on client error is_sending_ set to false on restart fix host assignment with non-local routing fix big_payload_test_local_tcp_queue_limited is_sending_ set to false when socket is not open reset multicast_id_ tse - fix linger options Allow daemon to send ADD_CLIENT to connected clients Fix Bad File Descriptor on UDP server Endpoints Support multiple IPsec activation files per connection Execution context of subscription handlers Global request debounce time Stop find/offer debounce timers Fix NSM logs with empty Container Id strings Add config for wait_route_netlink_notification Optimize data lookups Remove the get_mutex_ from runtime_impl lock registration_state_mutex_ before sending Fix REMOTE_ERROR on response protect request_debounce_timer_running_ Convert pending_sd_offers_ from vector to set Dont call shutdown_and_close if socket is connecting When the threshold is set to 1 in the configuration, the initial event sent for client 2 is always multicast rather than unicast. (#763) Small code modernizations (#835) Delay on event_tests Service application Removes remote_subscribers_ member variable Log the steps during suspend/resume Improve sd accept offer log Do not log when doing nothing start endpoint only on creation reset request_debounce_timer_running_ Reset routing root on net_state_change off Added additional offer check Remove interface index in RTM_DELLINK Perform endpoint port assignment on vnet on Unspecify catch exception Remove pending subscriptions after on subscription call Update documentation and logs Enable global dispatch settings Enable configuration of client-specific debouncing Fix incorrect microsecond extraction in logging timestamps (#844) Vsomeip dissector v0.3 Reduce npdu_tests timeout Network-tests: debounce tests Disable dlt-daemon for network-tests Updates cmake to build hello_world example Wrap options are linker flags (#780) test/common/CMakeLists.txt: add missing link with dlt (#602) force on_availability IO threads exit mitigation
Changes: Ensures buffer lifetime into async handler Revert Execution context of subscription handlers Ensure "shutdown_and_close" is called on "stop" Notify stop func when receives EOF during stop process Fix availability triggers on client error is_sending_ set to false on restart fix host assignment with non-local routing fix big_payload_test_local_tcp_queue_limited is_sending_ set to false when socket is not open reset multicast_id_ tse - fix linger options Allow daemon to send ADD_CLIENT to connected clients Fix Bad File Descriptor on UDP server Endpoints Support multiple IPsec activation files per connection Execution context of subscription handlers Global request debounce time Stop find/offer debounce timers Fix NSM logs with empty Container Id strings Add config for wait_route_netlink_notification Optimize data lookups Remove the get_mutex_ from runtime_impl lock registration_state_mutex_ before sending Fix REMOTE_ERROR on response protect request_debounce_timer_running_ Convert pending_sd_offers_ from vector to set Dont call shutdown_and_close if socket is connecting When the threshold is set to 1 in the configuration, the initial event sent for client 2 is always multicast rather than unicast. (#763) Small code modernizations (#835) Delay on event_tests Service application Removes remote_subscribers_ member variable Log the steps during suspend/resume Improve sd accept offer log Do not log when doing nothing start endpoint only on creation reset request_debounce_timer_running_ Reset routing root on net_state_change off Added additional offer check Remove interface index in RTM_DELLINK Perform endpoint port assignment on vnet on Unspecify catch exception Remove pending subscriptions after on subscription call Update documentation and logs Enable global dispatch settings Enable configuration of client-specific debouncing Fix incorrect microsecond extraction in logging timestamps (#844) Vsomeip dissector v0.3 Reduce npdu_tests timeout Network-tests: debounce tests Disable dlt-daemon for network-tests Updates cmake to build hello_world example Wrap options are linker flags (#780) test/common/CMakeLists.txt: add missing link with dlt (#602) force on_availability IO threads exit mitigation
When the threshold is set to 1 in the configuration, the initial event sent for client 2 is always multicast rather than unicast.