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

Fixed stabby ( https://github.com/rust-lang/rust/issues/123281 ) #1036

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ serde_cbor = "0.11.2"
serde_json = "1.0.114"
serde-pickle = "1.1.1"
serde_yaml = "0.9.19"
stabby = "4.0.5"
stabby = { git="https://github.com/ZettaScaleLabs/stabby.git", branch="fix_stabby_abi_build" }
sha3 = "0.10.6"
shared_memory = "0.12.4"
shellexpand = "3.0.0"
Expand Down
8 changes: 8 additions & 0 deletions zenoh/src/net/routing/dispatcher/face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,14 @@ impl Primitives for Face {
.local_interests
.entry(id)
.and_modify(|interest| interest.finalized = true);

// recompute routes
// TODO: disable routes and recompute them in parallel to avoid holding
// tables write lock for a long time.
let mut wtables = zwrite!(self.tables.tables);
let mut root_res = wtables.root_res.clone();
update_data_routes_from(&mut wtables, &mut root_res);
update_query_routes_from(&mut wtables, &mut root_res);
}
}
}
Expand Down
Loading