aglinxinyuan opened a new issue, #4747:
URL: https://github.com/apache/texera/issues/4747

   ### Task Summary
   
   `CongestionControl` 
(`amber/src/main/scala/org/apache/texera/amber/engine/architecture/messaginglayer/CongestionControl.scala`)
 implements TCP-style slow-start window management for outbound messaging but 
currently has no unit tests. Add `CongestionControlSpec` covering:
   
   - `canSend` true initially; false once in-transit reaches the window size
   - `ack` no-op for unknown ids; removes the acked message; grows window via 
slow start when acked within `ackTimeLimit`
   - `getBufferedMessagesToSend` bounded by remaining window capacity; empty 
when window is full
   - `getAllMessages` unions in-transit and queued sets
   - `getStatusReport` mentions window/in-transit/waiting
   
   ### Priority
   P3 – Low
   
   ### Task Type
   - [x] Testing / QA


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to