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 a new client subscribes, after receiving a successful subscribe acknowledgment, the server sends an "initial event" (for FIELDS) as unicast.
If the same client subscribes again for the same event group, no initial event will be sent.
However:
When the threshold is set to 1, the expectation is that all events, except the initial event, should be sent over multicast to clients once at least one client is subscribed.
The initial event (FIELDS) should be sent as a unicast message to each newly subscribed client.
However, when the threshold is set to 1, the initial event is correctly sent over unicast for the first subscribing client. But, for any subsequent clients, the initial event is sent over multicast instead of unicast.
We have observed this issue for the (N+1)th subscribed client when the threshold is set to N.
In our code walkthrough, we observed that the multicast address is updated to an unreliable endpoint in the highlighted code section when the number of subscribed clients (clients_subscribed) is greater than or equal to the threshold.
This is not in-line with AutoSAR requirement "[PRS_SOMEIPSD_00487] dThe initial events shall be transported using unicast from Server to Client."
Reproduction Steps
Set the threshold parameter to 1 in the server-side configuration.
Start two client applications on separate machines (in this case, two different Ubuntu machines).
Start the server application on a third machine.
Expected behavior: the initial event should be sent to both clients over unicast.
Observed behavior: the initial event is sent to only one client via unicast, while the other client receives the initial event over multicast. This causes the initial event to be broadcast to all subscribed clients, regardless of whether they have already received the initial event.
Expected behaviour
Expected behavior: the initial event should be sent to both clients over unicast.
Observed behavior: the initial event is sent to only one client via unicast, while the other client receives the initial event over multicast. This causes the initial event to be broadcast to all subscribed clients, regardless of whether they have already received the initial event.
Logs and Screenshots
No response
The text was updated successfully, but these errors were encountered:
vSomeip Version
v3.4.10
Boost Version
1.76
Environment
Ubuntu and Android
Describe the bug
However:
We have observed this issue for the (N+1)th subscribed client when the threshold is set to N.
In our code walkthrough, we observed that the multicast address is updated to an unreliable endpoint in the highlighted code section when the number of subscribed clients (clients_subscribed) is greater than or equal to the threshold.
This is not in-line with AutoSAR requirement "[PRS_SOMEIPSD_00487] dThe initial events shall be transported using unicast from Server to Client."
Reproduction Steps
Expected behaviour
Expected behavior: the initial event should be sent to both clients over unicast.
Observed behavior: the initial event is sent to only one client via unicast, while the other client receives the initial event over multicast. This causes the initial event to be broadcast to all subscribed clients, regardless of whether they have already received the initial event.
Logs and Screenshots
No response
The text was updated successfully, but these errors were encountered: