-
Notifications
You must be signed in to change notification settings - Fork 775
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
[20816] Properly delete builtin statistics writers upon delete_contained_entities()
#4891
Merged
Conversation
This file contains 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
Signed-off-by: Mario Dominguez <[email protected]>
Signed-off-by: Mario Dominguez <[email protected]>
EduPonz
suggested changes
Jun 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only one little NIT. 👏🏼
Signed-off-by: Mario Dominguez <[email protected]>
EduPonz
approved these changes
Jun 6, 2024
EduPonz
added
ready-to-merge
Ready to be merged. CI and changes have been reviewed and approved.
and removed
ci-pending
PR which CI is running
labels
Jun 8, 2024
@Mergifyio backport 2.14.x 2.13.x 2.10.x 2.6.x |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Jun 8, 2024
…ities()` (#4891) * Refs #20816: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Apply Edu's suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 0d62335) # Conflicts: # src/cpp/statistics/fastdds/domain/DomainParticipantImpl.cpp
15 tasks
mergify bot
pushed a commit
that referenced
this pull request
Jun 8, 2024
…ities()` (#4891) * Refs #20816: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Apply Edu's suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 0d62335) # Conflicts: # src/cpp/statistics/fastdds/domain/DomainParticipantImpl.cpp
15 tasks
mergify bot
pushed a commit
that referenced
this pull request
Jun 8, 2024
…ities()` (#4891) * Refs #20816: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Apply Edu's suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 0d62335) # Conflicts: # src/cpp/statistics/fastdds/domain/DomainParticipantImpl.cpp
15 tasks
mergify bot
pushed a commit
that referenced
this pull request
Jun 8, 2024
…ities()` (#4891) * Refs #20816: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Apply Edu's suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 0d62335) # Conflicts: # src/cpp/statistics/fastdds/domain/DomainParticipantImpl.cpp # src/cpp/statistics/fastdds/domain/DomainParticipantImpl.hpp
15 tasks
EduPonz
pushed a commit
that referenced
this pull request
Jun 8, 2024
…ities()` (#4891) * Refs #20816: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Apply Edu's suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 0d62335) Signed-off-by: eduponz <[email protected]>
EduPonz
pushed a commit
that referenced
this pull request
Jun 8, 2024
…ities()` (#4891) (#4914) * Refs #20816: Add BB test * Refs #20816: Fix * Refs #20816: Apply Edu's suggestion --------- (cherry picked from commit 0d62335) Signed-off-by: eduponz <[email protected]> Co-authored-by: Mario Domínguez López <[email protected]>
EduPonz
pushed a commit
that referenced
this pull request
Jun 17, 2024
…ities()` (#4891) (#4917) * Properly delete builtin statistics writers upon `delete_contained_entities()` (#4891) * Refs #20816: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Apply Edu's suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 0d62335) # Conflicts: # src/cpp/statistics/fastdds/domain/DomainParticipantImpl.cpp # src/cpp/statistics/fastdds/domain/DomainParticipantImpl.hpp * Solve conflicts Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> Co-authored-by: Mario Domínguez López <[email protected]> Co-authored-by: Mario Dominguez <[email protected]>
JesusPoderoso
pushed a commit
that referenced
this pull request
Jul 10, 2024
…ities()` (#4891) * Refs #20816: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Apply Edu's suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 0d62335)
EduPonz
pushed a commit
that referenced
this pull request
Jul 11, 2024
…ities()` (#4891) (#4915) * Refs #20816: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Apply Edu's suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 0d62335) Co-authored-by: Mario Domínguez López <[email protected]>
MiguelCompany
pushed a commit
that referenced
this pull request
Sep 12, 2024
…ities()` (#4891) * Refs #20816: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Apply Edu's suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 0d62335) # Conflicts: # src/cpp/statistics/fastdds/domain/DomainParticipantImpl.cpp
MiguelCompany
added a commit
that referenced
this pull request
Sep 18, 2024
…ities()` (#4891) (#4916) * Properly delete builtin statistics writers upon `delete_contained_entities()` (#4891) * Refs #20816: Add BB test Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Fix Signed-off-by: Mario Dominguez <[email protected]> * Refs #20816: Apply Edu's suggestion Signed-off-by: Mario Dominguez <[email protected]> --------- Signed-off-by: Mario Dominguez <[email protected]> (cherry picked from commit 0d62335) # Conflicts: # src/cpp/statistics/fastdds/domain/DomainParticipantImpl.cpp * Fix conflicts. Signed-off-by: Miguel Company <[email protected]> --------- Signed-off-by: Miguel Company <[email protected]> Co-authored-by: Mario Domínguez López <[email protected]> Co-authored-by: Miguel Company <[email protected]>
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 fixes a wrong behavior that occurs when closing an application making an intensive use of statistics. If in the shutdown pipeline, after a manual removal of entities (
delete_datareader
,delete_subscriber
,delete_topic
) ifdelete_contained_entities()
was called, it caused a race when alive endpoints try to keep using the statistics builtin endpoints (writers).@Mergifyio backport 2.14.x 2.13.x 2.10.x 2.6.x
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist