When the gateway restarts during a deploy, requests in flight return 502 instead of being drained.
Bug reported.
Can you share the gateway version and your drain timeout config?