gyfora commented on PR #22883:
URL: https://github.com/apache/flink/pull/22883#issuecomment-1610085020

   We were thinking of using this in the context of autoscaling or in general 
scaling jobs up or down to a target parallelism. Theoretically there could be 
some circumstances where if the job requirements state a minimum that is higher 
than the current we may want cancel the job (eventually). 
   
   But from a purely practical perspective, I think most people would rather 
have the job running with the current (smaller) parallelism than to not have it 
at all in cases where the resources cannot be acquired. This is a rather common 
case in cloud envy due to various resource quotas, changing circumstances etc. 
   
   We could also make this configurable with a timeout to cancel where a 
negative/infinite timeout would mean that we actually wait forever for the 
resources without cancelling.


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