-
Notifications
You must be signed in to change notification settings - Fork 816
[22604] Filter interested readers on PDP writer #5604
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
Merged
Merged
Conversation
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
51ae465
to
c92ada1
Compare
490687a
to
633530a
Compare
richiware
requested changes
Jan 29, 2025
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]>
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]>
Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
…d of an `std::set` Signed-off-by: Miguel Company <[email protected]>
372df3c
to
44f0324
Compare
richiware
previously approved these changes
Feb 18, 2025
|
Reducing announcement period to improve discovery timing. Signed-off-by: Miguel Company <[email protected]>
b2cd803
to
92413c5
Compare
richiware
approved these changes
Feb 20, 2025
@Mergifyio backport 3.1.x |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Feb 21, 2025
* Refs #22506. Regression test. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Add `PDPStatelessWriter` extending `StatelessWriter` Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Use `PDPStatelessWriter` in `SimplePDPEndpoints` Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Move specific API to `PDPStatelessWriter`. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Initial work on management of interested writers. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Take advantage of single sample history. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Reset state after sending datagram. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Filter interested readers. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Do not reset unsent changes upon participant discovery. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Fix AsymmeticIgnoreParticipantFlags test. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Create sender resources for matched readers. Signed-off-by: Miguel Company <[email protected]> * Refs #22708. Rename methods. Signed-off-by: Miguel Company <[email protected]> * Refs #22708. Avoid allocations using a `ResourceLimitedVector` instead of an `std::set` Signed-off-by: Miguel Company <[email protected]> * Refs #22604. Improve monitor service blackbox tests. Reducing announcement period to improve discovery timing. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> (cherry picked from commit 8eb1072)
13 tasks
13 tasks
MiguelCompany
added a commit
that referenced
this pull request
Mar 5, 2025
* Refs #22506. Regression test. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Add `PDPStatelessWriter` extending `StatelessWriter` Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Use `PDPStatelessWriter` in `SimplePDPEndpoints` Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Move specific API to `PDPStatelessWriter`. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Initial work on management of interested writers. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Take advantage of single sample history. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Reset state after sending datagram. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Filter interested readers. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Do not reset unsent changes upon participant discovery. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Fix AsymmeticIgnoreParticipantFlags test. Signed-off-by: Miguel Company <[email protected]> * Refs #22506. Create sender resources for matched readers. Signed-off-by: Miguel Company <[email protected]> * Refs #22708. Rename methods. Signed-off-by: Miguel Company <[email protected]> * Refs #22708. Avoid allocations using a `ResourceLimitedVector` instead of an `std::set` Signed-off-by: Miguel Company <[email protected]> * Refs #22604. Improve monitor service blackbox tests. Reducing announcement period to improve discovery timing. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> (cherry picked from commit 8eb1072) Co-authored-by: Miguel Company <[email protected]>
Open
1 task
MiguelCompany
pushed a commit
that referenced
this pull request
Mar 17, 2025
* Refs #22506. Regression test. Signed-off-by: Eugenio Collado <[email protected]> * Refs #22506. Filter interested readers on PDP writer Signed-off-by: Eugenio Collado <[email protected]> * Fix IncompatibleQosGetters Signed-off-by: Eugenio Collado <[email protected]> * Fix PubSubParticipant rtps deprecated Signed-off-by: Eugenio Collado <[email protected]> --------- Signed-off-by: Eugenio Collado <[email protected]>
mergify bot
pushed a commit
that referenced
this pull request
Mar 17, 2025
* Refs #22506. Regression test. Signed-off-by: Eugenio Collado <[email protected]> * Refs #22506. Filter interested readers on PDP writer Signed-off-by: Eugenio Collado <[email protected]> * Fix IncompatibleQosGetters Signed-off-by: Eugenio Collado <[email protected]> * Fix PubSubParticipant rtps deprecated Signed-off-by: Eugenio Collado <[email protected]> --------- Signed-off-by: Eugenio Collado <[email protected]> (cherry picked from commit b56b56a) # Conflicts: # src/cpp/rtps/participant/RTPSParticipantImpl.cpp # test/blackbox/api/fastrtps_deprecated/PubSubParticipant.hpp # test/blackbox/common/DDSBlackboxTestsMonitorService.cpp # test/unittest/statistics/dds/CMakeLists.txt
13 tasks
EugenioCollado
added a commit
that referenced
this pull request
Mar 17, 2025
* Refs #22506. Regression test. Signed-off-by: Eugenio Collado <[email protected]> * Refs #22506. Filter interested readers on PDP writer Signed-off-by: Eugenio Collado <[email protected]> * Fix IncompatibleQosGetters Signed-off-by: Eugenio Collado <[email protected]> * Fix PubSubParticipant rtps deprecated Signed-off-by: Eugenio Collado <[email protected]> --------- Manual conflicts resolution from commit b56b56a Signed-off-by: Eugenio Collado <[email protected]>
MiguelCompany
pushed a commit
that referenced
this pull request
May 14, 2025
* Refs #22506. Regression test. Signed-off-by: Eugenio Collado <[email protected]> * Refs #22506. Filter interested readers on PDP writer Signed-off-by: Eugenio Collado <[email protected]> * Fix IncompatibleQosGetters Signed-off-by: Eugenio Collado <[email protected]> * Fix PubSubParticipant rtps deprecated Signed-off-by: Eugenio Collado <[email protected]> --------- Manual conflicts resolution from commit b56b56a Signed-off-by: Eugenio Collado <[email protected]>
MiguelCompany
pushed a commit
that referenced
this pull request
May 16, 2025
* Refs #22506. Regression test. Signed-off-by: Eugenio Collado <[email protected]> * Refs #22506. Filter interested readers on PDP writer Signed-off-by: Eugenio Collado <[email protected]> * Fix IncompatibleQosGetters Signed-off-by: Eugenio Collado <[email protected]> * Fix PubSubParticipant rtps deprecated Signed-off-by: Eugenio Collado <[email protected]> --------- Manual conflicts resolution from commit b56b56a Signed-off-by: Eugenio Collado <[email protected]>
MiguelCompany
pushed a commit
that referenced
this pull request
May 16, 2025
* Refs #22506. Regression test. Signed-off-by: Eugenio Collado <[email protected]> * Refs #22506. Filter interested readers on PDP writer Signed-off-by: Eugenio Collado <[email protected]> * Fix IncompatibleQosGetters Signed-off-by: Eugenio Collado <[email protected]> * Fix PubSubParticipant rtps deprecated Signed-off-by: Eugenio Collado <[email protected]> --------- Manual conflicts resolution from commit b56b56a Signed-off-by: Eugenio Collado <[email protected]>
MiguelCompany
pushed a commit
that referenced
this pull request
May 16, 2025
* Refs #22506. Regression test. * Refs #22506. Filter interested readers on PDP writer * Fix IncompatibleQosGetters * Fix PubSubParticipant rtps deprecated --------- Manual conflicts resolution from commit b56b56a Signed-off-by: Eugenio Collado <[email protected]> Co-authored-by: Eugenio Collado <[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 fixes a high CPU and network usage situation with PDP simple discovery when a new participant is created in a network where there is a high number of existing participants.
@Mergifyio backport 3.1.x 3.0.x
An ABI compatible backport would be manually done to 2.14.x, and we will backport to other 2.x supported branches from there.
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist