-
Notifications
You must be signed in to change notification settings - Fork 69
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
service introspection event does not have unique GID during transaction #357
Comments
@MiguelCompany https://github.com/ros2/rmw_fastrtps/blob/b45e73500bc0a2056fdc31197a6f94434b327d55/rmw_fastrtps_shared_cpp/src/rmw_request.cpp#L116 replaces original writer (request publisher guid) into reader (response subscription guid) since it will be copies here https://github.com/ros2/rmw_fastrtps/blob/b45e73500bc0a2056fdc31197a6f94434b327d55/rmw_fastrtps_shared_cpp/src/rmw_request.cpp#L132-L134, and this guid is used to send the response. this generates this issue since response subscription guid is not the same guid with request publisher guid, so that i believe that we need original request publisher guid for i do not really think good idea how to address this issue... any thoughts? |
This definitely seems like an issue, but I haven't investigating it myself yet. It would be good to have a new test (maybe in rcl?) that checks that this condition is met, along with any clarification in the rmw docs to require it of the middleware. That way we could take the new docs and test to the rmw implementation maintainers to ask them to fix it. |
@wjwwood if you can take a look at ros2/rmw_fastrtps#779 which fixes this issue with note: i am not sure how to fix the |
ros2/rmw_fastrtps#779 is merged, so only the problem left with |
Note: ros2/rmw_fastrtps#780 is going to be merged (revert ros2/rmw_fastrtps#779) because that generates the instability CI issue especially RHEL Debug job. see more details for ros2/rmw_fastrtps#780 (comment) |
with ros2/rmw_fastrtps#780, i was unable to reproduce the hang-up issue reported with ros2/rmw_fastrtps#780... even with full source build and test... (including debug flag.) i cannot debug this problem with my local environment... i think we need to come up with another solution... |
Bug report
Required Info:
Steps to reproduce issue
Expected behavior
service introspection event message requires gid must be unique during transaction.
which uniquely identify a single request-reponse pair.
see more details for https://github.com/ros-infrastructure/rep/pull/360/files#diff-7739b7ffccd3276874ea9014c4cd07872efa4e2d60d7c31896e56929ad424455R144-R149.
Actual behavior
service introspection event message IS NOT unique so it does not identify a single request-reponse pair.
Additional information
Related Issue/PR: ros2/rosbag2#1414 (rosbag2 service record/play feature enhancement.)
rmw_fastrtps
andrmw_cyclonedds
can reproduce this issue. (butrmw_connextdds
)The text was updated successfully, but these errors were encountered: