Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dummy pr to test deadlock solutions #3098

Closed
wants to merge 14 commits into from
Closed

Conversation

MiguelBarro
Copy link
Contributor

@MiguelBarro MiguelBarro commented Nov 19, 2022

Description

Testing workarounds for deadlocks in #3087

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.
  • Any new/modified methods have been properly documented using Doxygen.
  • Fast DDS test suite has been run locally.
  • Changes are ABI compatible.
  • Changes are API compatible.
  • Documentation builds and tests pass locally.
  • New feature has been added to the versions.md file (if applicable).
  • New feature has been documented/Current behavior is correctly described in the documentation.

Reviewer Checklist

  • Check contributor checklist is correct.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

Chen Lihui and others added 7 commits November 14, 2022 15:43
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Chen Lihui <lihui.chen@sony.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
@mergify
Copy link
Contributor

mergify bot commented Nov 19, 2022

⚠️ The sha of the head commit of this PR conflicts with #3087. Mergify cannot evaluate rules on this PR. ⚠️

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>
@MiguelBarro
Copy link
Contributor Author

@richiprosima Please test this for me 🤯

Miguel Barro added 2 commits November 19, 2022 18:37
Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>
Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>
@MiguelBarro
Copy link
Contributor Author

@richiprosima Please test this for me 🤯

@MiguelBarro MiguelBarro changed the title Bugfix/waitset dummy pr to test deadlock solutions Nov 20, 2022
Miguel Barro added 2 commits November 21, 2022 11:46
Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>
Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>
@MiguelBarro
Copy link
Contributor Author

@richiprosima Please test this for me 🤯

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>
@MiguelBarro
Copy link
Contributor Author

@richiprosima Please test this for me 🤯

1 similar comment
@MiguelBarro
Copy link
Contributor Author

@richiprosima Please test this for me 🤯

Signed-off-by: Miguel Barro <miguelbarro@eprosima.com>
@MiguelBarro
Copy link
Contributor Author

@richiprosima Please test this for me 🤯

@MiguelCompany
Copy link
Member

@iuhilnehc-ynos I've been reviewing this again.

I propose to move forward by merging the changes up to commit 34a8f8d. This will reduce the possibility of losing a notification, though there will be a small window where it can be lost, as you mentioned in this comment.

We will later work on using your initial solution (744524a) but fixing the deadlock with ReadCondition.

Thoughts?

@iuhilnehc-ynos
Copy link
Contributor

there will be a small window where it can be lost

I think this PR can fix the lost notification since it can re-check the condition every 500ms, but it will increase CPU consumption.

We will later work on using your initial solution (744524a) but fixing the deadlock with ReadCondition.

Thoughts?

If you think this PR is acceptable, I have no other opinion.

@iuhilnehc-ynos iuhilnehc-ynos mentioned this pull request Jan 5, 2023
13 tasks
@mergify
Copy link
Contributor

mergify bot commented Jan 5, 2023

⚠️ The sha of the head commit of this PR conflicts with #3087. Mergify cannot evaluate rules on this PR. ⚠️

@MiguelCompany MiguelCompany deleted the bugfix/waitset branch January 5, 2023 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants