Retry inside mesh

Hello,

VirtualService is used only inside mesh for interpod communication. This VirtualService should do retry if upstream returns 502. For some reason, retry is not working. Should retry take place on the downstream pod sidecar? How to debug this issue?

My SO question: istio - Virtual Service retry with the mesh gateway - Stack Overflow