Merged
Conversation
Contributor
Author
|
@richiprosima please test this |
Contributor
Author
|
@Mergifyio backport 2.6.x 2.9.x 2.10.x |
Contributor
✅ Backports have been createdDetails
|
Contributor
Author
|
@richiprosima please test mac test windows |
JLBuenoLopez
suggested changes
Jul 10, 2023
Contributor
Author
|
@richiprosima please test mac test windows |
Contributor
Author
|
@richiprosima please test this |
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
e7532d2 to
d17af2d
Compare
Contributor
Author
|
@richiprosima please test this |
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Contributor
Author
|
@richiprosima please test this |
Contributor
Author
|
Address Sanitizer failure is unrelated. |
JLBuenoLopez
approved these changes
Jul 13, 2023
Contributor
JLBuenoLopez
left a comment
There was a problem hiding this comment.
LGTM with green Mac CI
Member
|
@richiprosima Please test mac |
mergify bot
pushed a commit
that referenced
this pull request
Jul 13, 2023
* Refs #18966. Refactor of try_push. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Retry try_push after regenerating output port. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Clean all output ports on every send. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Clean output ports when they have no listeners. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966: Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18966: Uncrustify Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18966: Prevent port cleanup on Windows platforms Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> Co-authored-by: Miguel Company <MiguelCompany@eprosima.com> (cherry picked from commit 2f80b06) # Conflicts: # src/cpp/rtps/transport/shared_mem/SharedMemTransport.cpp
mergify bot
pushed a commit
that referenced
this pull request
Jul 13, 2023
* Refs #18966. Refactor of try_push. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Retry try_push after regenerating output port. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Clean all output ports on every send. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Clean output ports when they have no listeners. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966: Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18966: Uncrustify Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18966: Prevent port cleanup on Windows platforms Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> Co-authored-by: Miguel Company <MiguelCompany@eprosima.com> (cherry picked from commit 2f80b06)
mergify bot
pushed a commit
that referenced
this pull request
Jul 13, 2023
* Refs #18966. Refactor of try_push. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Retry try_push after regenerating output port. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Clean all output ports on every send. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Clean output ports when they have no listeners. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966: Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18966: Uncrustify Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18966: Prevent port cleanup on Windows platforms Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> Co-authored-by: Miguel Company <MiguelCompany@eprosima.com> (cherry picked from commit 2f80b06)
This was referenced Jul 13, 2023
This was referenced Jul 20, 2023
MiguelCompany
pushed a commit
that referenced
this pull request
Jul 21, 2023
* SHM sending improvements (#3642) * Refs #18966. Refactor of try_push. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Retry try_push after regenerating output port. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Clean all output ports on every send. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Clean output ports when they have no listeners. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966: Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18966: Uncrustify Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18966: Prevent port cleanup on Windows platforms Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> Co-authored-by: Miguel Company <MiguelCompany@eprosima.com> (cherry picked from commit 2f80b06) # Conflicts: # src/cpp/rtps/transport/shared_mem/SharedMemTransport.cpp * Fixed conflicts Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com> Co-authored-by: Javier Santiago <javiersantiago@eprosima.com>
MiguelCompany
pushed a commit
that referenced
this pull request
Aug 8, 2023
* Refs #18966. Refactor of try_push. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Retry try_push after regenerating output port. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Clean all output ports on every send. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966. Clean output ports when they have no listeners. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #18966: Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18966: Uncrustify Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18966: Prevent port cleanup on Windows platforms Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> Co-authored-by: Miguel Company <MiguelCompany@eprosima.com> (cherry picked from commit 2f80b06) Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com>
13 tasks
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
Improve reliability of sending data through Shared Memory by detecting and deleting stale ports and remapping them when needed. It also adds a retry when sending data in the event the port being used is found to be obsolete.
Contributor Checklist
versions.mdfile (if applicable).Reviewer Checklist