Open YuanYuYuan opened 2 weeks ago
@YuanYuYuan I think we are using this: https://github.com/eclipse-zenoh/zenoh-c/blob/153ad8dc5b17d874ded973cc62dddbe56eefa746/src/zbytes.rs?plain=1#L188
And yes, IMHO we should:
as_shm*
to try_as_shm*
in APItry_as_shm
@milyin @DenisBiryukov91 what do you think?
In opposite to other as_*
like as_string
, as_shm
is used to probe the buffer on shm nature, and unsuccessful result is not as hard error as for orther APIs
Describe the bug
When sending SHM buffers across machines, we check the SHM buffer availability on the receiver side with this function. However, this reports an error that is NOT shown in zenoh rust example. Since we had already properly returned the result in the zenoh-c function, do we need to duplicate this error in the log?
To reproduce
System info