On Thu, Apr 21, 2016 at 4:05 AM, Stuart Douglas <stuart.w.douglas(a)gmail.com>
wrote:
One thing I am not really sure about is if we need a configuration
switch
for hold/reject behavior. e.g. for Undertow the request holding behavior is
very developer friendly, as it means they can just hit refresh in their
browser and as soon as the redeployment is done the page will display,
however I am worried that it might not be ideal for load balancers that may
prefer a quick error response that could then be attempted on another node
(although if mod_cluster is not sending out availability till the
deployment is 100% complete this may not be a big deal).
Wouldn't for load balancers be better to just return 503 instead? This is
similar to what we have with "default-response-code" config for host,
with only difference being that would also make sure other subsystems are
up as well.
--
tomaz