Open lexamor opened 1 month ago
Hi @lexamor, Thanks for the detailed report. I could reproduce the issue, we will try to come up with a solution in the upcoming time.
Thank you @Mario-DL, One of the ideas for how to deal with this FMPOV, is to use a more "reliable" system identifier for the host ID value calculation, for Linux(systemd) it could be the machine-id, but of course, it is not a portable way for all supported platforms (e.g. Windows, etc).
@lexamor We recently merged #5382, where we included the kind of mechanism you mention.
Is there an already existing issue for this?
Expected behavior
SHM (only) transport should work on the same host independently if network interfaces have assigned IPv4 addresses or not.
Current behavior
All SHM locators are filtered out because Participants are considered to belong to different hosts, but this is not the case.
Steps to reproduce
The opposite scenario, when IPv4 addr is available during the first Participant instantiation, and before the second Participant launch interface goes down/disconnects is also reproducible.
Fast DDS version/commit
2.6.9 2.14.1
Platform/Architecture
Ubuntu Focal 20.04 amd64, Other. Please specify in Additional context section.
Transport layer
Shared Memory Transport (SHM)
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response