When SHM enabled, enable transport_optimization (backport #1020) - #1022
Conversation
(cherry picked from commit e315985) # Conflicts: # docs/design.md
|
Cherry-pick of e315985 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
|
Tick the box to add this pull request to the merge queue (same as
|
… branch Signed-off-by: Julien Enoch <julien.e@zettascale.tech>
|
Pulls: #1022 |
Description
Since #857 rmw_zenoh is using the same SHM segment than created by Zenoh when
transport_optimizationis enabled. While it checks iftransport/shared_memory/enabled==trueit doesn't check nor enforce thattransport/shared_memory/transport_optimization==true.If SHM is enabled and
transport_optimizationis disabled, SHM is not used and rmw_zenoh fallbacks to network transport.This PR overwrites the config with
transport/shared_memory/transport_optimization: trueif set tofalseand SHM is enabled. An INFO log is also displayed.Is this user-facing behavior change?
No
Did you use Generative AI?
No
This is an automatic backport of pull request #1020 done by [Mergify](https://mergify.com).