zhangshenghang opened a new pull request, #11458:
URL: https://github.com/apache/seatunnel/pull/11458

   ## What does this PR do?
   
   Fixes #11437. During active-master failover, a restored JobMaster now reuses 
the matching active worker slots recorded for the job instead of requesting 
them again. This lets fixed-slot jobs recover while workers still retain their 
task groups.
   
   ## Why is this needed?
   
   The replacement master previously treated retained slots as unavailable and 
left the restored job pending. If only some slots can be reused, cleanup 
releases only newly allocated slots and preserves the active retained slots for 
the next retry.
   
   ## Tests
   
   - Added a fixed-slot master-failover regression test that exhausts all free 
slots before restore.
   - `./mvnw -pl seatunnel-engine/seatunnel-engine-server -DskipITs 
-Dtest=JobMasterMasterFailoverResourceTest test`
   - `./mvnw -q -DskipTests verify`


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