Skip to content

[23979] Fix GAP messages are not sent when there is no Reader requesting the DATA#6181

Merged
MiguelCompany merged 6 commits intomasterfrom
bugfix/23919
Nov 26, 2025
Merged

[23979] Fix GAP messages are not sent when there is no Reader requesting the DATA#6181
MiguelCompany merged 6 commits intomasterfrom
bugfix/23919

Conversation

@richiware
Copy link
Member

@richiware richiware commented Nov 19, 2025

Description

When Content Filter is being performed on the writer side, and samples are always irrelevant for all readers, currently a heartbeat period is received without notification of the previous GAP sequence of samples, and the readers annotate those samples as lost. This PR fixes this, ensuring that a GAP message is sent before the HEARTBEAT period or before a DATA for one of the readers.

@Mergifyio backport 3.3.x 3.2.x 2.14.x

Contributor Checklist

  • Commit messages follow the project guidelines.
  • The code follows the style guidelines of this project.
  • Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
  • Any new/modified methods have been properly documented using Doxygen.
  • N/A: Any new configuration API has an equivalent XML API (with the corresponding XSD extension)
  • Changes are backport compatible: they do NOT break ABI nor change library core behavior.
  • Changes are API compatible.
  • N/A: New feature has been added to the versions.md file (if applicable).
  • N/A: New feature has been documented/Current behavior is correctly described in the documentation.
  • Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • N/A: If this is a critical bug fix, backports to the critical-only supported branches have been requested.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

@github-actions github-actions bot added the ci-pending PR which CI is running label Nov 21, 2025
@MiguelCompany MiguelCompany added this to the v3.4.2 milestone Nov 21, 2025
@MiguelCompany MiguelCompany self-requested a review November 21, 2025 12:16
MiguelCompany
MiguelCompany previously approved these changes Nov 21, 2025
@mergify
Copy link
Contributor

mergify bot commented Nov 21, 2025

🧪 CI Insights

Here's what we observed from your CI run for de998bc.

❌ Job Failures

Pipeline Job Health on master Retries 🔍 CI Insights 📄 Logs
Fast DDS MacOS CI mac-ci / fastdds_test () Unknown 0 View View
Fast DDS Ubuntu CI ubuntu-ci / fastdds_test (RelWithDebInfo) Unknown 0 View View
Fast DDS Windows CI windows-ci / fastdds_test (RelWithDebInfo, examples), v142 Unknown 0 View View
windows-ci / fastdds_test (RelWithDebInfo, examples), v143 Unknown 0 View View

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
@richiware richiware requested review from MiguelCompany and removed request for MiguelCompany November 26, 2025 10:14
@MiguelCompany MiguelCompany added first-to-merge ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. labels Nov 26, 2025
@MiguelCompany MiguelCompany merged commit 062258c into master Nov 26, 2025
24 of 28 checks passed
@MiguelCompany MiguelCompany deleted the bugfix/23919 branch November 26, 2025 16:06
@MiguelCompany
Copy link
Member

@Mergifyio backport 3.3.x 3.2.x 2.14.x

@mergify
Copy link
Contributor

mergify bot commented Nov 26, 2025

backport 3.3.x 3.2.x 2.14.x

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Nov 26, 2025
…DATA (#6181)

* Refs #23919. Tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix cornercase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix jobs needs log

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
(cherry picked from commit 062258c)
mergify bot pushed a commit that referenced this pull request Nov 26, 2025
…DATA (#6181)

* Refs #23919. Tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix cornercase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix jobs needs log

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
(cherry picked from commit 062258c)

# Conflicts:
#	test/blackbox/common/DDSBlackboxTestsContentFilter.cpp
mergify bot pushed a commit that referenced this pull request Nov 26, 2025
…DATA (#6181)

* Refs #23919. Tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix cornercase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix jobs needs log

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
(cherry picked from commit 062258c)

# Conflicts:
#	examples/cpp/content_filter/SubscriberApp.hpp
#	src/cpp/rtps/writer/StatefulWriter.cpp
#	test/blackbox/common/DDSBlackboxTestsContentFilter.cpp
#	test/dds/xtypes/TypeLookupServiceSubscriber.cpp
@richiware richiware changed the title Fix GAP messages are not sent when there is no Reader requesting the DATA [23979] Fix GAP messages are not sent when there is no Reader requesting the DATA Nov 28, 2025
MiguelCompany pushed a commit that referenced this pull request Dec 1, 2025
…DATA (#6181)

* Refs #23919. Tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix cornercase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix jobs needs log

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
MiguelCompany pushed a commit that referenced this pull request Dec 1, 2025
…DATA (#6181)

* Refs #23919. Tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix cornercase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix jobs needs log

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
MiguelCompany pushed a commit that referenced this pull request Dec 3, 2025
…DATA (#6181)

* Refs #23919. Tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix cornercase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix jobs needs log

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
cferreiragonz pushed a commit that referenced this pull request Dec 4, 2025
…DATA (#6181)

* Refs #23919. Tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix cornercase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix jobs needs log

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
(cherry picked from commit 062258c)
emiliocuestaf pushed a commit that referenced this pull request Dec 9, 2025
…DATA (#6181) (#6198)

* Refs #23919. Tests



* Refs #23919. Fix



* Refs #23919. Fix cornercase



* Refs #23919. Apply suggestions



* Refs #23919. Fix jobs needs log



* Refs #23919. Apply suggestions



---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Co-authored-by: Ricardo González <ricardo@richiware.dev>
MiguelCompany pushed a commit that referenced this pull request Dec 9, 2025
…DATA (#6181) (#6196)

* Refs #23919. Tests



* Refs #23919. Fix



* Refs #23919. Fix cornercase



* Refs #23919. Apply suggestions



* Refs #23919. Fix jobs needs log



* Refs #23919. Apply suggestions



---------


(cherry picked from commit 062258c)

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Co-authored-by: Ricardo González <ricardo@richiware.dev>
MiguelCompany pushed a commit that referenced this pull request Jan 15, 2026
…DATA (#6181)

* Refs #23919. Tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix cornercase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix jobs needs log

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
(cherry picked from commit 062258c)

# Conflicts:
#	test/blackbox/common/DDSBlackboxTestsContentFilter.cpp
MiguelCompany pushed a commit that referenced this pull request Feb 4, 2026
…DATA (#6181)

* Refs #23919. Tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix cornercase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix jobs needs log

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
(cherry picked from commit 062258c)

# Conflicts:
#	test/blackbox/common/DDSBlackboxTestsContentFilter.cpp
MiguelCompany pushed a commit that referenced this pull request Feb 5, 2026
…DATA (#6181) (#6197)

* Fix GAP messages are not sent when there is no Reader requesting the DATA (#6181)

* Refs #23919. Tests

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix cornercase

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Fix jobs needs log

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #23919. Apply suggestions

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
(cherry picked from commit 062258c)

# Conflicts:
#	test/blackbox/common/DDSBlackboxTestsContentFilter.cpp

* Reset irrelevant sequence numbers interval in proxy readers (#6241)

* Refs #24038. Regression test

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #24038. Fix

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #24038. Apply suggestion

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

* Refs #24038. Apply new uncrustify

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>

---------

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Co-authored-by: Ricardo González <ricardo@richiware.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-pending PR which CI is running first-to-merge ready-to-merge Ready to be merged. CI and changes have been reviewed and approved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants