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
{{ message }}
Repository navigation
The registry writes an entry without its id over one it read as truncated #570
read_raw in crates/devstack-daemon/src/registry.rs turns a registry entry that is still truncated after its retries (EOF, Unread::Parse) or that is JSON but no object into Ok(None). change() then writes back only the fields it sets ({claims} from set_claims_in), which its doc comment says must not happen: the entry loses id and name, drops out of list(), and its port claims no longer count, so another stack's lane can be numbered onto them (#535). The Ok(Some(_)) case is not logged although the comment says it is.
Expected
An entry that cannot be read as an object is an error for change(): it writes nothing over it (as #545 did for read errors).
Found in a code review before 0.49.4; not reproduced.
Activity