Skip to content

[20351] Fix on_sample_lost notification on best-effort readers for framented samples (backport #4187)#4606

Merged
MiguelCompany merged 3 commits into2.10.xfrom
mergify/bp/2.10.x/pr-4187
May 17, 2024
Merged

[20351] Fix on_sample_lost notification on best-effort readers for framented samples (backport #4187)#4606
MiguelCompany merged 3 commits into2.10.xfrom
mergify/bp/2.10.x/pr-4187

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Mar 22, 2024

Description

When some fragments are lost on every sample, best-effort readers were not notifying on_sample_lost events.

@Mergifyio backport 2.12.x 2.11.x 2.10.x 2.6.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

  • N/A Any new/modified methods have been properly documented using Doxygen.

  • Changes are ABI compatible.

  • 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.
  • Check contributor checklist is correct.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

This is an automatic backport of pull request #4187 done by [Mergify](https://mergify.com).

@MiguelCompany
Copy link
Copy Markdown
Member

@Mergifyio rebase

@MiguelCompany MiguelCompany force-pushed the mergify/bp/2.10.x/pr-4187 branch from 33c5635 to f461306 Compare May 7, 2024 08:11
@mergify
Copy link
Copy Markdown
Contributor Author

mergify bot commented May 7, 2024

rebase

✅ Branch has been successfully rebased

@MiguelCompany MiguelCompany self-requested a review May 7, 2024 09:08
@github-actions github-actions bot added the ci-pending PR which CI is running label May 7, 2024
@MiguelCompany MiguelCompany force-pushed the mergify/bp/2.10.x/pr-4187 branch from f461306 to bb920aa Compare May 7, 2024 15:10
@MiguelCompany MiguelCompany requested review from MiguelCompany and removed request for MiguelCompany May 7, 2024 15:10
@MiguelCompany MiguelCompany added the temporarily-blocked PR must be merged after another one label May 16, 2024
@MiguelCompany MiguelCompany force-pushed the mergify/bp/2.10.x/pr-4187 branch from 295a0d1 to 819ba6f Compare May 16, 2024 16:17
@MiguelCompany MiguelCompany changed the base branch from 2.10.x to mergify/bp/2.10.x/pr-4760 May 16, 2024 16:17
@MiguelCompany MiguelCompany requested review from MiguelCompany and removed request for MiguelCompany May 16, 2024 16:19
@MiguelCompany
Copy link
Copy Markdown
Member

Depends on #4795. Should be merged after it.

Base automatically changed from mergify/bp/2.10.x/pr-4760 to 2.10.x May 17, 2024 09:19
@MiguelCompany MiguelCompany force-pushed the mergify/bp/2.10.x/pr-4187 branch from 819ba6f to 3549d8b Compare May 17, 2024 09:22
@MiguelCompany MiguelCompany removed the temporarily-blocked PR must be merged after another one label May 17, 2024
@MiguelCompany
Copy link
Copy Markdown
Member

@Mergifyio rebase

… samples (#4187)

* Refs #20162. Regression test.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #20162. Notify sample lost when dropping fragmented change.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #20167. Linters.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #20162. Apply suggestions.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #20162. Use constexpr for buffer size.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #20162. Lower buffer size.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #20351. Uncrustify.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

---------

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
(cherry picked from commit 5ac198e)
* Refs #20692. Make sample_lost_be_dw_be_dr_fragments test less flakey.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

* Refs #20692. Uncrustify.

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>

---------

Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
@mergify
Copy link
Copy Markdown
Contributor Author

mergify bot commented May 17, 2024

rebase

✅ Branch has been successfully rebased

@MiguelCompany MiguelCompany force-pushed the mergify/bp/2.10.x/pr-4187 branch from 3549d8b to 7ee8510 Compare May 17, 2024 11:10
@MiguelCompany MiguelCompany requested review from MiguelCompany and removed request for MiguelCompany May 17, 2024 11:10
@MiguelCompany
Copy link
Copy Markdown
Member

@richiprosima Please test this

@MiguelCompany
Copy link
Copy Markdown
Member

@richiprosima please test mac

@MiguelCompany MiguelCompany merged commit a9380f0 into 2.10.x May 17, 2024
@MiguelCompany MiguelCompany deleted the mergify/bp/2.10.x/pr-4187 branch May 17, 2024 13:49
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants