Expected behavior - Istio pod exclusion policy doesn't seem to be kicking in when upstream host returns 5xx errors

I raised a github issue but haven’t heard back. Is my understanding correct in that pods should be excluded if they return 5xx errors and if so , what is the error code returned to the client ?

Thanks

Verified that this feature works in istio 1.3.Closing my github issue