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

   ### Task Summary
   
   This issue adds the backend support needed to safely restart a workflow 
region after it has already completed or been terminated.
   
   Currently, the region execution state and control-channel state assume that 
a region runs only once. For control-flow execution, a region may need to run 
multiple times, so the system must clean up stale execution/gateway state and 
allow the same region to be reinitialized.
   
   Scope:
   - Allow WorkflowExecution to reinitialize a region execution.
   - Clean up input/output control-channel state when region workers are 
terminated.
   - Expose input/output gateways through AsyncRPCClient so termination cleanup 
can remove stale channels.
   - Make operator-port result URI insertion idempotent for repeated region 
runs.
   - Add tests covering control-channel cleanup and duplicate result URI 
insertion.
   
   ### Priority
   
   P2 – Medium
   
   ### Task Type
   
   - [x] Code Implementation
   - [ ] Documentation
   - [ ] Refactor / Cleanup
   - [ ] Testing / QA
   - [ ] DevOps / Deployment


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