eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
449 stars 22 forks source link

Race in `open_or_create` #108

Closed elfenpiff closed 4 months ago

elfenpiff commented 4 months ago

Required information

When multiple processes are startup concurrently and are creating the same service with open_or_create it can happen that all processes detect the service as non-existing.

When then all processes start creating the service, all except one will fail creating the service. A better option would be that the processes that fail creating the service retry to open the service again.