-
Notifications
You must be signed in to change notification settings - Fork 793
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
[21055] Automatically unmatch remote participants on participant deletion #4849
Merged
Conversation
This file contains 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
Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
…tocols`. Signed-off-by: Miguel Company <[email protected]>
…ticipants. Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
elianalf
suggested changes
May 27, 2024
Signed-off-by: Miguel Company <[email protected]>
@richiprosima please test this |
Signed-off-by: Miguel Company <[email protected]>
@richiprosima Please test this |
elianalf
reviewed
May 28, 2024
elianalf
approved these changes
May 28, 2024
elianalf
added
ready-to-merge
Ready to be merged. CI and changes have been reviewed and approved.
and removed
needs-review
PR that is ready to be reviewed
ci-pending
PR which CI is running
labels
May 28, 2024
@Mergifyio backport 2.13.x 2.10.x 2.6.x |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
May 28, 2024
) * Refs #21055. Add regresion test. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Remove `this->` on PDP.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Change nullptr comparisons on PDP.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Change nullptr comparisons on BuiltinProtocols.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Split `PDP::remove_remote_participant` in two methods. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Call new `PDP::disable` method when deleting `BuiltinProtocols`. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. `PDP::disable` method automatically unmatches remote participants. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Use `std::lock_guard` where possible. Signed-off-by: Miguel Company <[email protected]> * Refs #20995. Apply suggestion. Signed-off-by: Miguel Company <[email protected]> * Refs #20995. Fix test build. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> (cherry picked from commit 689dd3f) # Conflicts: # src/cpp/rtps/builtin/discovery/participant/PDP.cpp
mergify bot
pushed a commit
that referenced
this pull request
May 28, 2024
) * Refs #21055. Add regresion test. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Remove `this->` on PDP.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Change nullptr comparisons on PDP.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Change nullptr comparisons on BuiltinProtocols.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Split `PDP::remove_remote_participant` in two methods. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Call new `PDP::disable` method when deleting `BuiltinProtocols`. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. `PDP::disable` method automatically unmatches remote participants. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Use `std::lock_guard` where possible. Signed-off-by: Miguel Company <[email protected]> * Refs #20995. Apply suggestion. Signed-off-by: Miguel Company <[email protected]> * Refs #20995. Fix test build. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> (cherry picked from commit 689dd3f)
This was referenced May 28, 2024
Merged
mergify bot
pushed a commit
that referenced
this pull request
May 28, 2024
) * Refs #21055. Add regresion test. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Remove `this->` on PDP.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Change nullptr comparisons on PDP.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Change nullptr comparisons on BuiltinProtocols.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Split `PDP::remove_remote_participant` in two methods. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Call new `PDP::disable` method when deleting `BuiltinProtocols`. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. `PDP::disable` method automatically unmatches remote participants. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Use `std::lock_guard` where possible. Signed-off-by: Miguel Company <[email protected]> * Refs #20995. Apply suggestion. Signed-off-by: Miguel Company <[email protected]> * Refs #20995. Fix test build. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> (cherry picked from commit 689dd3f) # Conflicts: # include/fastdds/rtps/builtin/discovery/participant/PDP.h # src/cpp/rtps/builtin/discovery/participant/PDP.cpp # test/blackbox/common/DDSBlackboxTestsBasic.cpp
Merged
12 tasks
MiguelCompany
added a commit
that referenced
this pull request
May 29, 2024
) (#4864) * Automatically unmatch remote participants on participant deletion (#4849) * Refs #21055. Add regresion test. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Remove `this->` on PDP.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Change nullptr comparisons on PDP.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Change nullptr comparisons on BuiltinProtocols.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Split `PDP::remove_remote_participant` in two methods. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Call new `PDP::disable` method when deleting `BuiltinProtocols`. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. `PDP::disable` method automatically unmatches remote participants. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Use `std::lock_guard` where possible. Signed-off-by: Miguel Company <[email protected]> * Refs #20995. Apply suggestion. Signed-off-by: Miguel Company <[email protected]> * Refs #20995. Fix test build. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> (cherry picked from commit 689dd3f) # Conflicts: # src/cpp/rtps/builtin/discovery/participant/PDP.cpp * Fix conflicts Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Miguel Company <[email protected]>
MiguelCompany
added a commit
that referenced
this pull request
May 29, 2024
) (#4863) * Refs #21055. Add regresion test. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Remove `this->` on PDP.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Change nullptr comparisons on PDP.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Change nullptr comparisons on BuiltinProtocols.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Split `PDP::remove_remote_participant` in two methods. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Call new `PDP::disable` method when deleting `BuiltinProtocols`. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. `PDP::disable` method automatically unmatches remote participants. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Use `std::lock_guard` where possible. Signed-off-by: Miguel Company <[email protected]> * Refs #20995. Apply suggestion. Signed-off-by: Miguel Company <[email protected]> * Refs #20995. Fix test build. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> (cherry picked from commit 689dd3f) Co-authored-by: Miguel Company <[email protected]>
EduPonz
pushed a commit
that referenced
this pull request
Jun 28, 2024
) (#4865) * Automatically unmatch remote participants on participant deletion (#4849) * Refs #21055. Add regresion test. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Remove `this->` on PDP.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Change nullptr comparisons on PDP.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Change nullptr comparisons on BuiltinProtocols.cpp Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Split `PDP::remove_remote_participant` in two methods. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Call new `PDP::disable` method when deleting `BuiltinProtocols`. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. `PDP::disable` method automatically unmatches remote participants. Signed-off-by: Miguel Company <[email protected]> * Refs #21055. Use `std::lock_guard` where possible. Signed-off-by: Miguel Company <[email protected]> * Refs #20995. Apply suggestion. Signed-off-by: Miguel Company <[email protected]> * Refs #20995. Fix test build. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> (cherry picked from commit 689dd3f) # Conflicts: # include/fastdds/rtps/builtin/discovery/participant/PDP.h # src/cpp/rtps/builtin/discovery/participant/PDP.cpp # test/blackbox/common/DDSBlackboxTestsBasic.cpp * Refs #21244: Fix conflicts Signed-off-by: JesusPoderoso <[email protected]> * Refs #21055: Fix build issue Signed-off-by: JesusPoderoso <[email protected]> --------- Signed-off-by: JesusPoderoso <[email protected]> Co-authored-by: Miguel Company <[email protected]> Co-authored-by: JesusPoderoso <[email protected]>
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 is a manual backport of #4817 into 2.14.x
@Mergifyio backport 2.13.x 2.10.x 2.6.x
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist