[23603] Avoid sending duplicated ACKs in DataSharing#5986
Merged
MiguelCompany merged 3 commits intomasterfrom Sep 3, 2025
Merged
[23603] Avoid sending duplicated ACKs in DataSharing#5986MiguelCompany merged 3 commits intomasterfrom
MiguelCompany merged 3 commits intomasterfrom
Conversation
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
Contributor
MiguelCompany
approved these changes
Sep 2, 2025
Member
|
@Mergifyio backport 3.3.x 3.2.x 2.14.x |
Contributor
✅ Backports have been createdDetails
|
mergify bot
pushed a commit
that referenced
this pull request
Sep 3, 2025
* Refs #23603: Avoid duplicate ACK in datasharing Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Doxygen Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Mock method Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit 8421fb0)
mergify bot
pushed a commit
that referenced
this pull request
Sep 3, 2025
* Refs #23603: Avoid duplicate ACK in datasharing Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Doxygen Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Mock method Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit 8421fb0)
mergify bot
pushed a commit
that referenced
this pull request
Sep 3, 2025
* Refs #23603: Avoid duplicate ACK in datasharing Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Doxygen Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Mock method Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit 8421fb0) # Conflicts: # include/fastdds/rtps/reader/StatefulReader.h # include/fastdds/rtps/reader/StatelessReader.h # src/cpp/fastdds/subscriber/DataReaderImpl/ReadTakeCommand.hpp # src/cpp/rtps/reader/BaseReader.hpp # src/cpp/rtps/reader/StatefulReader.cpp # src/cpp/rtps/reader/StatelessReader.cpp # test/mock/rtps/RTPSReader/rtps/reader/BaseReader.hpp
MiguelCompany
pushed a commit
that referenced
this pull request
Sep 4, 2025
* Refs #23603: Avoid duplicate ACK in datasharing Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Doxygen Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Mock method Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
MiguelCompany
pushed a commit
that referenced
this pull request
Sep 18, 2025
* Refs #23603: Avoid duplicate ACK in datasharing Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Doxygen Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Mock method Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit 8421fb0)
MiguelCompany
pushed a commit
that referenced
this pull request
Sep 23, 2025
* Refs #23603: Avoid duplicate ACK in datasharing Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Doxygen Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Mock method Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit 8421fb0)
MiguelCompany
pushed a commit
that referenced
this pull request
Sep 24, 2025
* Refs #23603: Avoid duplicate ACK in datasharing * Refs #23603: Doxygen * Refs #23603: Mock method --------- (cherry picked from commit 8421fb0) Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com>
cferreiragonz
added a commit
that referenced
this pull request
Oct 9, 2025
* Refs #23603: Avoid duplicate ACK in datasharing Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Doxygen Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Mock method Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit 8421fb0)
juanlofer-eprosima
pushed a commit
that referenced
this pull request
Oct 13, 2025
* Avoid sending duplicated ACKs in DataSharing (#5986) * Refs #23603: Avoid duplicate ACK in datasharing Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Doxygen Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Mock method Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit 8421fb0) * Uncrustify Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com> Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com>
MiguelCompany
pushed a commit
that referenced
this pull request
Oct 22, 2025
* Refs #23603: Avoid duplicate ACK in datasharing Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Doxygen Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Mock method Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit 8421fb0) # Conflicts: # include/fastdds/rtps/reader/StatefulReader.h # include/fastdds/rtps/reader/StatelessReader.h # src/cpp/fastdds/subscriber/DataReaderImpl/ReadTakeCommand.hpp # src/cpp/rtps/reader/BaseReader.hpp # src/cpp/rtps/reader/StatefulReader.cpp # src/cpp/rtps/reader/StatelessReader.cpp # test/mock/rtps/RTPSReader/rtps/reader/BaseReader.hpp
rsanchez15
pushed a commit
that referenced
this pull request
Oct 23, 2025
* Avoid sending duplicated ACKs in DataSharing (#5986) * Refs #23603: Avoid duplicate ACK in datasharing Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Doxygen Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23603: Mock method Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit 8421fb0) # Conflicts: # include/fastdds/rtps/reader/StatefulReader.h # include/fastdds/rtps/reader/StatelessReader.h # src/cpp/fastdds/subscriber/DataReaderImpl/ReadTakeCommand.hpp # src/cpp/rtps/reader/BaseReader.hpp # src/cpp/rtps/reader/StatefulReader.cpp # src/cpp/rtps/reader/StatelessReader.cpp # test/mock/rtps/RTPSReader/rtps/reader/BaseReader.hpp * Fix backport issues Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com> * Update include/fastdds/rtps/reader/StatelessReader.h Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com> Signed-off-by: Emilio Cuesta Fernandez <emiliocuesta@eprosima.com> * Update src/cpp/rtps/reader/StatelessReader.cpp Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com> Signed-off-by: Emilio Cuesta Fernandez <emiliocuesta@eprosima.com> * Update include/fastdds/rtps/reader/StatefulReader.h Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com> Signed-off-by: Emilio Cuesta Fernandez <emiliocuesta@eprosima.com> * Update include/fastdds/rtps/reader/StatefulReader.h Co-authored-by: Miguel Company <miguelcompany@eprosima.com> Signed-off-by: Emilio Cuesta Fernandez <emiliocuesta@eprosima.com> * Update include/fastdds/rtps/reader/StatelessReader.h Co-authored-by: Miguel Company <miguelcompany@eprosima.com> Signed-off-by: Emilio Cuesta Fernandez <emiliocuesta@eprosima.com> --------- Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com> Signed-off-by: Emilio Cuesta Fernandez <emiliocuesta@eprosima.com> Co-authored-by: Carlos Ferreira González <carlosferreira@eprosima.com> Co-authored-by: Emilio Cuesta <emiliocuesta@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
This PR improves DataSharing efficiency by removing an extra ACK that was being sent when
StatefulReader::end_sample_access_ntsandDataReaderHistory::remove_change_subwere being called consecutively.@Mergifyio backport 3.3.x 3.2.x 2.14.x
Contributor Checklist
versions.mdfile (if applicable).Reviewer Checklist