aglinxinyuan opened a new pull request, #4748:
URL: https://github.com/apache/texera/pull/4748

   ### What changes were proposed in this PR?
   
   Add `CongestionControlSpec` covering the TCP-style slow-start window manager 
in `CongestionControl`:
   
   - `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
   
   ### Any related issues, documentation, discussions?
   
   Closes #4747
   
   ### How was this PR tested?
   
   `sbt "WorkflowExecutionService/testOnly 
org.apache.texera.amber.engine.architecture.messaginglayer.CongestionControlSpec"`
 — 9/9 tests pass.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Claude Opus 4.7)


-- 
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