Module vitess_grpc::vtrpc

source ·

Structs

  • CallerID is passed along RPCs to identify the originating client for a request. It is not meant to be secure, but only informational. The client can put whatever info they want in these fields, and they will be trusted by the servers. The fields will just be used for logging purposes, and to easily find a client. VtGate propagates it to VtTablet, and VtTablet may use this information for monitoring purposes, to display on dashboards, or for denying access to tables during a migration.
  • RPCError is an application-level error structure returned by VtTablet (and passed along by VtGate if appropriate). We use this so the clients don’t have to parse the error messages, but instead can depend on the value of the code.

Enums