Repository navigation
Warn when receiver locator mutation succeeds - #6568
Open
devinhuang2001 wants to merge 1 commit into
Open
devinhuang2001 wants to merge 1 commit into
devinhuang2001 wants to merge 1 commit into
Conversation
Signed-off-by: mike66612 <mike66612@users.noreply.github.com>
devinhuang2001
marked this pull request as ready for review
October 9, 2026 14:54
This branch has not been deployed
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
When a configured receiver locator cannot be opened and a retry succeeds on another port, participant creation previously continued without reporting the move. This makes port contention difficult to diagnose, especially in Release builds where the transport's Info logs are disabled.
Emit one
RTPS_PARTICIPANTWarning after a successful mutation, including the requested and actual listening locators. Add regression tests using real loopback UDP sockets for no mutation, one mutation, multiple mutations, and exhausted retries. The tests check the actual bound locator and the warning's level, count, and contents.Fixes #6528.
Suggested backport:
3.6.x. The complete patch passesgit apply --checkagainst that branch; a separate backport build has not been run.Validation
Windows x64, MSVC 19.41, Release, static libraries,
SECURITY=OFF:RTPSParticipantTests: 5/5 pass, both directly and via CTest.git diff --checkpasses.Contributor Checklist
versions.md; this is a diagnostic bug fix.Reviewer Checklist