-
Notifications
You must be signed in to change notification settings - Fork 119
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
Unique Client GID for Service Introspectino Event. #779
Unique Client GID for Service Introspectino Event. #779
Conversation
Signed-off-by: Tomoya Fujita <[email protected]>
@MiguelCompany i would like to know what you think about this fix, could you take a look? |
This PR fixes the issue ros2/rmw#357 info:
event_type: 0
stamp:
sec: 1726873574
nanosec: 967201238
client_gid: [1, 15, 163, 43, 147, 68, 18, 20, 0, 0, 0, 0, 0, 0, 21, 3]
sequence_number: 1829
request: [{a: 2, b: 3}]
response: []
---
info:
event_type: 1
stamp:
sec: 1726873574
nanosec: 967516329
client_gid: [1, 15, 163, 43, 147, 68, 18, 20, 0, 0, 0, 0, 0, 0, 21, 3]
sequence_number: 1829
request: [{a: 2, b: 3}]
response: []
---
info:
event_type: 2
stamp:
sec: 1726873574
nanosec: 967806970
client_gid: [1, 15, 163, 43, 147, 68, 18, 20, 0, 0, 0, 0, 0, 0, 21, 3]
sequence_number: 1829
request: []
response: [{sum: 5}]
---
info:
event_type: 3
stamp:
sec: 1726873574
nanosec: 968045402
client_gid: [1, 15, 163, 43, 147, 68, 18, 20, 0, 0, 0, 0, 0, 0, 21, 3]
sequence_number: 1829
request: []
response: [{sum: 5}] |
Pulls: #779 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
LGTM
Pulls: #779 |
@MiguelCompany so this did not work, actually it generated the instability for CI. (not often happen, but reproducible with CI) i am not 100 sure but i believe that the following behavior change can be a reason for this CI hang-up problem. rmw_fastrtps/rmw_fastrtps_shared_cpp/src/rmw_response.cpp Lines 140 to 156 in 6bdff0b
that said, we cannot keep the request publisher gid in |
@fujitatomoya I think we could use in the client the same trick we use in the server, make the request id use the GUID of the response reader, instead of the request writer |
part of ros2/rmw#357