You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case of reconnection, Liveliness tokens are propagated prior to Queryable declarations. So when reacting to a Liveliness token to issue a get, the Queryable declaration might have not yet been propagated and the get might fail.
To reproduce
Using the following examples: queryable:
let session = zenoh::open(config).res().await.unwrap();println!("Declaring Queryable on 'key/expression'...");let queryable = session
.declare_queryable("key/expression").res().await.unwrap();let _token = session
.liveliness().declare_token("key/expression").res().await.unwrap();whileletOk(query) = queryable.recv_async().await{
query
.reply(Ok(Sample::new(KeyExpr::try_from("key/expression").unwrap(),"value",))).res().await.unwrap();}
Describe the bug
In case of reconnection, Liveliness tokens are propagated prior to Queryable declarations. So when reacting to a Liveliness token to issue a get, the Queryable declaration might have not yet been propagated and the get might fail.
To reproduce
Using the following examples:
queryable:
get:
System info
zenoh v0.11.0-dev-20-gd2399cad
The text was updated successfully, but these errors were encountered: