[22604] Filter interested readers on PDP writer#5604
Merged
MiguelCompany merged 14 commits intomasterfrom Feb 21, 2025
Merged
Conversation
51ae465 to
c92ada1
Compare
490687a to
633530a
Compare
richiware
requested changes
Jan 29, 2025
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
…d of an `std::set` Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
372df3c to
44f0324
Compare
richiware
previously approved these changes
Feb 18, 2025
Member
Author
|
|
Reducing announcement period to improve discovery timing. Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
b2cd803 to
92413c5
Compare
richiware
approved these changes
Feb 20, 2025
Member
Author
|
@Mergifyio backport 3.1.x |
Contributor
✅ Backports have been createdDetails
|
mergify bot
pushed a commit
that referenced
this pull request
Feb 21, 2025
* Refs #22506. Regression test. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Add `PDPStatelessWriter` extending `StatelessWriter` Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Use `PDPStatelessWriter` in `SimplePDPEndpoints` Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Move specific API to `PDPStatelessWriter`. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Initial work on management of interested writers. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Take advantage of single sample history. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Reset state after sending datagram. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Filter interested readers. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Do not reset unsent changes upon participant discovery. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Fix AsymmeticIgnoreParticipantFlags test. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Create sender resources for matched readers. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22708. Rename methods. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22708. Avoid allocations using a `ResourceLimitedVector` instead of an `std::set` Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22604. Improve monitor service blackbox tests. Reducing announcement period to improve discovery timing. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: Miguel Company <miguelcompany@eprosima.com> (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 <miguelcompany@eprosima.com> * Refs #22506. Add `PDPStatelessWriter` extending `StatelessWriter` Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Use `PDPStatelessWriter` in `SimplePDPEndpoints` Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Move specific API to `PDPStatelessWriter`. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Initial work on management of interested writers. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Take advantage of single sample history. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Reset state after sending datagram. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Filter interested readers. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Do not reset unsent changes upon participant discovery. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Fix AsymmeticIgnoreParticipantFlags test. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22506. Create sender resources for matched readers. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22708. Rename methods. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22708. Avoid allocations using a `ResourceLimitedVector` instead of an `std::set` Signed-off-by: Miguel Company <miguelcompany@eprosima.com> * Refs #22604. Improve monitor service blackbox tests. Reducing announcement period to improve discovery timing. Signed-off-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: Miguel Company <miguelcompany@eprosima.com> (cherry picked from commit 8eb1072) Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
Closed
1 task
MiguelCompany
pushed a commit
that referenced
this pull request
Mar 17, 2025
* Refs #22506. Regression test. Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Refs #22506. Filter interested readers on PDP writer Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Fix IncompatibleQosGetters Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Fix PubSubParticipant rtps deprecated Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> --------- Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com>
mergify bot
pushed a commit
that referenced
this pull request
Mar 17, 2025
* Refs #22506. Regression test. Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Refs #22506. Filter interested readers on PDP writer Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Fix IncompatibleQosGetters Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Fix PubSubParticipant rtps deprecated Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> --------- Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> (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 <eugeniocollado@eprosima.com> * Refs #22506. Filter interested readers on PDP writer Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Fix IncompatibleQosGetters Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Fix PubSubParticipant rtps deprecated Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> --------- Manual conflicts resolution from commit b56b56a Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com>
MiguelCompany
pushed a commit
that referenced
this pull request
May 14, 2025
* Refs #22506. Regression test. Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Refs #22506. Filter interested readers on PDP writer Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Fix IncompatibleQosGetters Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Fix PubSubParticipant rtps deprecated Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> --------- Manual conflicts resolution from commit b56b56a Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com>
MiguelCompany
pushed a commit
that referenced
this pull request
May 16, 2025
* Refs #22506. Regression test. Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Refs #22506. Filter interested readers on PDP writer Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Fix IncompatibleQosGetters Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Fix PubSubParticipant rtps deprecated Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> --------- Manual conflicts resolution from commit b56b56a Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com>
MiguelCompany
pushed a commit
that referenced
this pull request
May 16, 2025
* Refs #22506. Regression test. Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Refs #22506. Filter interested readers on PDP writer Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Fix IncompatibleQosGetters Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> * Fix PubSubParticipant rtps deprecated Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com> --------- Manual conflicts resolution from commit b56b56a Signed-off-by: Eugenio Collado <eugeniocollado@eprosima.com>
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 <eugeniocollado@eprosima.com> Co-authored-by: Eugenio Collado <eugeniocollado@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 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.mdfile (if applicable).Reviewer Checklist