cxzl25 opened a new pull request, #3828:
URL: https://github.com/apache/celeborn/pull/3828

   ### What changes were proposed in this pull request?
   
   Allow overriding `celeborn.worker.decommission.forceExitTimeout` **per 
decommission** via an optional `timeout` parameter on the worker `exit` API — 
root `/exit`, v1 `/api/v1/workers/exit`, and the CLI `--exit-timeout` option — 
without restarting the worker or editing configuration.
   
   ### Why are the changes needed?
   `celeborn.worker.decommission.forceExitTimeout` (default `6h`) is **not 
dynamically changeable**: it is read once at decommission start and baked into 
both the `ShutdownHookManager` hook ceiling and the `decommissionWorker` drain 
loop. There is currently no way to shorten it for a single decommission other 
than editing the config + restarting, and
   once a decommission is running the value is fixed.
   
   
   ### Does this PR resolve a correctness bug?
   - [ ] Yes
   
   ### Does this PR introduce _any_ user-facing change?
   - [ ] Yes
   
   
   ### How was this patch tested?
   


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