Describe the bug
When sending data with TRANSIENT_LOCAL and History-KeepAll the zenoh-dds-bridge stores all samples of a instance forever.
This is a incompatibility to CycloneDDS.
Expected behavior:
zenoh-dds-bridge should only store all samples of a instance for existing readers.
It should not store all samples of a instance for late-joining readers.
To reproduce
- zenoh-bridge-dds -d 0
- zenoh-bridge-dds -d 20
- send topic on domain 0 (TRANSIENT_LOCAL + History-KeepAll)
- send the exact instance multiple times
- subscribe on domain 20 to the topic
- ERROR: all sent samples of the same instance are received (expected: only the latest like in cyclonedds).
System info
- Platforms: all
- Cpu: all
- current master: 83225be