Skip to content
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

Fix query queue for multiple clients #159

Merged
merged 6 commits into from
Apr 18, 2024

Conversation

Yadunund
Copy link
Member

This PR cherry-picks commits from #153 that were reverted in #157 that fix how we store and access queries from different clients.

Validated that the changes here fix #152

nav2 and open-rmf also work.

clalancette and others added 6 commits April 18, 2024 13:24
Signed-off-by: Chris Lalancette <[email protected]>
I'm not really sure that this is correct, but do it for now.

Signed-off-by: Chris Lalancette <[email protected]>
In particular, make sure that we track requests from
individual clients separately so that we don't mix them
up.  To do that, we store the client gid in the server
set along with the sequence_number and Query itself.

Signed-off-by: Chris Lalancette <[email protected]>
Signed-off-by: Yadunund <[email protected]>
Signed-off-by: Yadunund <[email protected]>
@Yadunund Yadunund merged commit 12ebc2e into rolling Apr 18, 2024
5 of 6 checks passed
@delete-merged-branch delete-merged-branch bot deleted the yadu/fix_query_queue_for_multiple_clients branch April 18, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[test_rclcpp] #101 test_services_cpp (test_rclcpp.TestTwoExecutables.test_services_cpp)
2 participants