ddm-admin-client wraps calls with tokio::spawn-ed tasks that are never awaited #7378
Labels
bug
Something that isn't working.
networking
Related to the networking.
Sled Agent
Related to the Per-Sled Configuration and Management
Within https://github.com/oxidecomputer/omicron/blob/main/clients/ddm-admin-client/src/lib.rs , we have a handful of tasks which are
tokio::spawn
-ed, and attempt to contact maghemite to configure state.In a world where this state is purely additive, this may not be an issue - it requests that the configuration "eventually get propagated" to maghemite. However, in a world where we actually try to remove routes (e.g., after expunging a zone - see #7377), this code introduces problems.
It's possible that we do the following:
(aside: Due to the scheduling of tokio tasks, we actually don't even need to "fail" here, the scheduling of the tokio task could just be delayed, resulting in a call to DELETE before the call to CREATE the prefixes)
The text was updated successfully, but these errors were encountered: