Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated liveliness token drops #1438

Closed
YuanYuYuan opened this issue Sep 18, 2024 · 1 comment · Fixed by #1450
Closed

Duplicated liveliness token drops #1438

YuanYuYuan opened this issue Sep 18, 2024 · 1 comment · Fixed by #1450
Labels
bug Something isn't working

Comments

@YuanYuYuan
Copy link
Contributor

Describe the bug

Opening session...
2024-09-18T08:04:25.842313Z  INFO main ThreadId(01) zenoh::net::runtime: Using ZID: e3d0c17c8eba5b70908ef87a5882faa7
2024-09-18T08:04:25.843674Z  INFO main ThreadId(01) zenoh::net::runtime::orchestrator: Zenoh can be reached at: tcp/[fe80::7860:eea4:511f:15c8]:39497
2024-09-18T08:04:25.843693Z  INFO main ThreadId(01) zenoh::net::runtime::orchestrator: Zenoh can be reached at: tcp/192.168.0.134:39497
Declaring Liveliness Subscriber on 'group1/**'...
Press CTRL-C to quit...
>> [LivelinessSubscriber] New alive token ('group1/zenoh-rs')
>> [LivelinessSubscriber] Dropped token ('group1/zenoh-rs')
>> [LivelinessSubscriber] Dropped token ('group1/zenoh-rs')

To reproduce

  1. Build zenohd, z_sub_liveliness, and z_sub_liveliness.
  2. Run zenohd
./target/debug/zenohd -l tcp/127.0.0.1:7447
./target/debug/examples/z_sub_liveliness -e tcp/0.0.0.0:7447 --no-multicast-scouting
./target/debug/examples/z_liveliness -e tcp/0.0.0.0:7447 --no-multicast-scouting
  1. Run a token subscriber
./target/debug/examples/z_sub_liveliness -e tcp/0.0.0.0:7447 --no-multicast-scouting
  1. Declare a liveliness token and undeclare it (pressing Ctrl-c).
./target/debug/examples/z_liveliness -e tcp/0.0.0.0:7447 --no-multicast-scouting

System info

@YuanYuYuan YuanYuYuan added the bug Something isn't working label Sep 18, 2024
@YuanYuYuan
Copy link
Contributor Author

YuanYuYuan commented Sep 19, 2024

This Will be closed by bug/liveliness_fix2

@OlivierHecart OlivierHecart linked a pull request Sep 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants