[15896] Fix selection of output locators#3003
Merged
MiguelCompany merged 15 commits intomasterfrom Oct 13, 2022
Merged
Conversation
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
…y parent transport. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
e9360ff to
fe5fe14
Compare
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
…tors selected. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
…ack_nts_. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
fe5fe14 to
d067a2d
Compare
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Member
Author
|
@richiprosima Please test this |
richiware
requested changes
Oct 11, 2022
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Member
Author
|
@richiprosima Please test this |
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
8c544e4 to
f2b6be3
Compare
Member
Author
|
@richiprosima Please test this |
richiware
approved these changes
Oct 13, 2022
Member
Author
|
@Mergifyio backport 2.7.x 2.6.x |
mergify bot
pushed a commit
that referenced
this pull request
Oct 13, 2022
* Refs #15839. Adding test_UDPv4Transport::should_drop_locator. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Adding destination locator filter to test_UDPv4Transport Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Avoid calling filters for packets that will be dropped by parent transport. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Add method set initial announcements to PubSubReader. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Add method set initial announcements to PubSubWriter. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Regression test added. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Call select_locators before asking on the number of locators selected. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Call select_locators before checking for global gap. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Do not reset locator selector inside deliver_sample_nts. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Avoid reseting locator selector on send_heartbeat_piggyback_nts_. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Improvements on StatelessWriter Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Improvements on StatefulWriter Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15896. Avoid arithmetic overflow on limitation check. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15896. Apply suggestions from code review. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15896. Add local filter for locators. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> (cherry picked from commit 23a788d) # Conflicts: # src/cpp/rtps/writer/StatelessWriter.cpp # test/blackbox/api/dds-pim/PubSubReader.hpp # test/blackbox/api/dds-pim/PubSubWriter.hpp # test/blackbox/api/fastrtps_deprecated/PubSubReader.hpp # test/blackbox/api/fastrtps_deprecated/PubSubWriter.hpp
mergify bot
pushed a commit
that referenced
this pull request
Oct 13, 2022
* Refs #15839. Adding test_UDPv4Transport::should_drop_locator. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Adding destination locator filter to test_UDPv4Transport Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Avoid calling filters for packets that will be dropped by parent transport. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Add method set initial announcements to PubSubReader. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Add method set initial announcements to PubSubWriter. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Regression test added. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Call select_locators before asking on the number of locators selected. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Call select_locators before checking for global gap. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Do not reset locator selector inside deliver_sample_nts. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Avoid reseting locator selector on send_heartbeat_piggyback_nts_. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Improvements on StatelessWriter Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Improvements on StatefulWriter Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15896. Avoid arithmetic overflow on limitation check. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15896. Apply suggestions from code review. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15896. Add local filter for locators. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> (cherry picked from commit 23a788d) # Conflicts: # src/cpp/rtps/writer/StatelessWriter.cpp # test/blackbox/api/dds-pim/PubSubReader.hpp # test/blackbox/api/dds-pim/PubSubWriter.hpp # test/blackbox/api/fastrtps_deprecated/PubSubReader.hpp # test/blackbox/api/fastrtps_deprecated/PubSubWriter.hpp
Contributor
✅ Backports have been createdDetails
|
MiguelCompany
added a commit
that referenced
this pull request
Oct 15, 2022
* Fix selection of output locators (#3003) * Refs #15839. Adding test_UDPv4Transport::should_drop_locator. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Adding destination locator filter to test_UDPv4Transport Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Avoid calling filters for packets that will be dropped by parent transport. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Add method set initial announcements to PubSubReader. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Add method set initial announcements to PubSubWriter. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Regression test added. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Call select_locators before asking on the number of locators selected. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Call select_locators before checking for global gap. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Do not reset locator selector inside deliver_sample_nts. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Avoid reseting locator selector on send_heartbeat_piggyback_nts_. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Improvements on StatelessWriter Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Improvements on StatefulWriter Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15896. Avoid arithmetic overflow on limitation check. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15896. Apply suggestions from code review. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15896. Add local filter for locators. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> (cherry picked from commit 23a788d) # Conflicts: # src/cpp/rtps/writer/StatelessWriter.cpp # test/blackbox/api/dds-pim/PubSubReader.hpp # test/blackbox/api/dds-pim/PubSubWriter.hpp # test/blackbox/api/fastrtps_deprecated/PubSubReader.hpp # test/blackbox/api/fastrtps_deprecated/PubSubWriter.hpp * Refs #15896. Fix conflicts. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
MiguelCompany
added a commit
that referenced
this pull request
Oct 15, 2022
* Fix selection of output locators (#3003) * Refs #15839. Adding test_UDPv4Transport::should_drop_locator. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Adding destination locator filter to test_UDPv4Transport Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Avoid calling filters for packets that will be dropped by parent transport. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Add method set initial announcements to PubSubReader. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Add method set initial announcements to PubSubWriter. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Regression test added. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Call select_locators before asking on the number of locators selected. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Call select_locators before checking for global gap. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Do not reset locator selector inside deliver_sample_nts. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Avoid reseting locator selector on send_heartbeat_piggyback_nts_. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Improvements on StatelessWriter Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15839. Improvements on StatefulWriter Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15896. Avoid arithmetic overflow on limitation check. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15896. Apply suggestions from code review. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #15896. Add local filter for locators. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> (cherry picked from commit 23a788d) # Conflicts: # src/cpp/rtps/writer/StatelessWriter.cpp # test/blackbox/api/dds-pim/PubSubReader.hpp # test/blackbox/api/dds-pim/PubSubWriter.hpp # test/blackbox/api/fastrtps_deprecated/PubSubReader.hpp # test/blackbox/api/fastrtps_deprecated/PubSubWriter.hpp * Refs #15896. Fix conflicts. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Signed-off-by: Miguel Company <MiguelCompany@eprosima.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
Contributor Checklist
versions.mdfile (if applicable).Reviewer Checklist