Enable applications to detect stalled connections during PRS #17668
Labels
Component: Query Serving
Type: Enhancement
Logical improvement (somewhere between a bug and feature)
Description
When doing a PRS while sending queries to VTGate on an opened transaction, the application will be hit by several errors for a while until the situation resolves itself. In this situation, the application should close the connection and re-open a new one, which will be routed to the proper tablet. However, the errors we send back to the client are not always easy to distinguish. Having a single error code that allow clients to detect such situation would be great.
Current errors that applications can encounter are:
The text was updated successfully, but these errors were encountered: