Hi,
We use App engine Flexible environment for executing long running 
asynchronous tasks.
When we make changes to the app and deploy a new version using the command: 
"gcloud app deploy app.yaml", it deploys the new version routes 100% 
traffic to the newly deployed version, and stops the old version. This 
results in the failure of any request that was in process on the old 
version.

We have tried keeping the old version alive by using the flag 
--no-stop-previous-version 
but in this case, even after the new version is deployed and the latest 
version is serving 100% requests the new request keeps getting served by 
the older version. 1. Is there a way to keep the old version running until 
the requests it is processing are completed? 2. How to make sure in the 2nd 
scenario that all the new requests after new deployment are served by the 
latest version instead of the old one?

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f21fbaca-6a83-40d3-8ce0-1bd1d0f1151en%40googlegroups.com.

Reply via email to