[23568] Set different content filter signatures for each requester#5972
Merged
MiguelCompany merged 2 commits intomasterfrom Aug 26, 2025
Merged
[23568] Set different content filter signatures for each requester#5972MiguelCompany merged 2 commits intomasterfrom
MiguelCompany merged 2 commits intomasterfrom
Conversation
Signed-off-by: Carlosespicur <carlosespicur@proton.me>
Signed-off-by: Carlosespicur <carlosespicur@proton.me>
MiguelCompany
approved these changes
Aug 25, 2025
Contributor
Member
|
@Mergifyio backport 3.3.x 3.2.x |
Contributor
✅ Backports have been createdDetails
|
mergify bot
pushed a commit
that referenced
this pull request
Aug 26, 2025
* Refs #23568: Set different content filter signatures for each requester Signed-off-by: Carlosespicur <carlosespicur@proton.me> * Refs #23568: Add test Signed-off-by: Carlosespicur <carlosespicur@proton.me> --------- Signed-off-by: Carlosespicur <carlosespicur@proton.me> (cherry picked from commit 5e01f49)
mergify bot
pushed a commit
that referenced
this pull request
Aug 26, 2025
* Refs #23568: Set different content filter signatures for each requester Signed-off-by: Carlosespicur <carlosespicur@proton.me> * Refs #23568: Add test Signed-off-by: Carlosespicur <carlosespicur@proton.me> --------- Signed-off-by: Carlosespicur <carlosespicur@proton.me> (cherry picked from commit 5e01f49) # Conflicts: # src/cpp/fastdds/rpc/RequesterImpl.cpp # test/blackbox/api/dds-pim/ReqRepHelloWorldReplier.cpp # test/blackbox/api/dds-pim/ReqRepHelloWorldReplier.hpp # test/blackbox/api/dds-pim/ReqRepHelloWorldRequester.cpp # test/blackbox/api/dds-pim/ReqRepHelloWorldRequester.hpp # test/blackbox/common/DDSBlackboxTestsRPC.cpp
This was referenced Aug 26, 2025
MiguelCompany
pushed a commit
that referenced
this pull request
Oct 14, 2025
* Refs #23568: Set different content filter signatures for each requester Signed-off-by: Carlosespicur <carlosespicur@proton.me> * Refs #23568: Add test Signed-off-by: Carlosespicur <carlosespicur@proton.me> --------- Signed-off-by: Carlosespicur <carlosespicur@proton.me> (cherry picked from commit 5e01f49) # Conflicts: # src/cpp/fastdds/rpc/RequesterImpl.cpp # test/blackbox/api/dds-pim/ReqRepHelloWorldReplier.cpp # test/blackbox/api/dds-pim/ReqRepHelloWorldReplier.hpp # test/blackbox/api/dds-pim/ReqRepHelloWorldRequester.cpp # test/blackbox/api/dds-pim/ReqRepHelloWorldRequester.hpp # test/blackbox/common/DDSBlackboxTestsRPC.cpp
MiguelCompany
pushed a commit
that referenced
this pull request
Oct 14, 2025
* Refs #23568: Set different content filter signatures for each requester Signed-off-by: Carlosespicur <carlosespicur@proton.me> * Refs #23568: Add test Signed-off-by: Carlosespicur <carlosespicur@proton.me> --------- Signed-off-by: Carlosespicur <carlosespicur@proton.me> (cherry picked from commit 5e01f49) # Conflicts: # src/cpp/fastdds/rpc/RequesterImpl.cpp # test/blackbox/api/dds-pim/ReqRepHelloWorldReplier.cpp # test/blackbox/api/dds-pim/ReqRepHelloWorldReplier.hpp # test/blackbox/api/dds-pim/ReqRepHelloWorldRequester.cpp # test/blackbox/api/dds-pim/ReqRepHelloWorldRequester.hpp # test/blackbox/common/DDSBlackboxTestsRPC.cpp
MiguelCompany
added a commit
that referenced
this pull request
Oct 15, 2025
…5985) * Set different content filter signatures for each requester (#5972) * Refs #23568: Set different content filter signatures for each requester Signed-off-by: Carlosespicur <carlosespicur@proton.me> * Refs #23568: Add test Signed-off-by: Carlosespicur <carlosespicur@proton.me> --------- Signed-off-by: Carlosespicur <carlosespicur@proton.me> (cherry picked from commit 5e01f49) # Conflicts: # src/cpp/fastdds/rpc/RequesterImpl.cpp # test/blackbox/api/dds-pim/ReqRepHelloWorldReplier.cpp # test/blackbox/api/dds-pim/ReqRepHelloWorldReplier.hpp # test/blackbox/api/dds-pim/ReqRepHelloWorldRequester.cpp # test/blackbox/api/dds-pim/ReqRepHelloWorldRequester.hpp # test/blackbox/common/DDSBlackboxTestsRPC.cpp * Fix conflicts. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Fix build Signed-off-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: Miguel Company <miguelcompany@eprosima.com> Co-authored-by: Carlos Espinoza Curto <148376273+Carlosespicur@users.noreply.github.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes an error detected when on a RPC scenario with two clients using a single server with thread pool, in which one the clients does not receive the replies sent by the server. As each requester uses a filter with the same signature (i:e: same expression and parameters), replies sent to the client 2 (the one that does not receive the replies) are discarded at the Requester's reader size, because the evaluation for client 1 was false. The problem is resolved by setting different filter signatures for each requester.
@Mergifyio backport 3.3.x 3.2.x
Contributor Checklist
versions.mdfile (if applicable).Reviewer Checklist