[Bug] Server spams chunk sink send failure logs when client drops ungracefully #1
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
scope/assets
scope/client
scope/networking
scope/renderer
scope/scripting
scope/server
scope/shared
scope/workspace
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Synvael/synvael#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Synvael Version or Commit Hash
64fec97d4fOperating System
Cachy OS
Description
When a client connects to the server, requests a chunk subscription, and then disconnects ungracefully before the server finishes sending all requested chunks, the server begins heavily spamming debug logs.
Because the
chunk_stream_taskends when the stream is broken, theChunkSinkreceiver is dropped. However, the simulation loop doesn't instantly drop the client (waiting for a QUIC timeout).ClientStream::flush()continues attempting to send up to 32 chunks per tick to the dropped receiver, resulting in the logchunk sink send failed; connection task has endedprinting hundreds of times per second until the QUIC connection finally times out (~10 seconds later).Steps to Reproduce
Logs / Backtrace
Scope of Changes
server, networking