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
Commit 04fc9e7
Browse filesBrowse the repository at this point in the historyBrowse files
fix: stale is_deleting self-heal didn't clear the "already exists" check
The stale-flag self-heal added in the previous commit cleared
is_deleting()/removed the flag but left stream_in_memory_dont_update
untouched, so create_update_stream still fell through to the
"Logstream already exists" 400 right after self-healing -- exactly the
Quest delete-then-recreate pattern that broke both the standalone and
distributed CI runs (TestSmokeIngestEventsToStream: expected 200, got
400).
Now the stale entry is dropped from the in-memory map (not just its
flag cleared) so get_or_create doesn't hand back the same stale
Arc<Stream>, and stream_in_memory_dont_update is corrected so the
"already exists" check no longer trips.
Also extracted the deletion/tombstone checks in create_update_stream
into reject_if_stream_deleting to bring its cyclomatic complexity back
down (DeepSource flagged RS-R1000 after the previous commit pushed it
to "very-high" risk).
0 commit comments