Skip to content

Multilink: only one link reconnects after disconnection #2130

@OlivierHecart

Description

@OlivierHecart

Describe the bug

When using multilink, if the transport is dropped because of net failure or crash, only one link reconnects.

To reproduce

  1. Start first router: RUST_LOG=debug ./target/debug/zenohd --cfg=transport/unicast/max_links:2 -l "tcp/[::]:7447?rel=1;prio=0-3" -l "udp/[::]:7447?rel=0;prio=4-7"
  2. Start second router: RUST_LOG=debug ./target/debug/zenohd --cfg=transport/unicast/max_links:2 -l "tcp/[::]:7448?rel=1;prio=0-3" -l "udp/[::]:7448?rel=0;prio=4-7" -e "tcp/127.0.0.1:7447?rel=1;prio=0-3" -e "udp/127.0.0.1:7447?rel=0;prio=4-7"
  3. See in the log that both links established.
  4. Kill first router.
  5. Restart first router.
  6. See in logs that only one link reestablished.

System info

Zenoh v1.5.1

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions