[YSQL] Prettify RPC timeout error message #1754
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/enhancement
This is an enhancement of an existing feature
kind/improve-ux
Issues relating to improving user experience.
priority/medium
Medium priority issue
Projects
Jira Link: DB-2134
One of the error messages client might get after tserver going down reads like this:
ERROR: Timed out: LookupByIdRpc(983ca99bca2449d09b03913939990969, 2) failed: timed out after deadline expired: LookupByIdRpc(983ca99bca2449d09b03913939990969, 2) passed its deadline 2360254.260s (passed: 5.052s): Timed out (yb/rpc/rpc.cc:199): GetLeaderMasterRpc(addrs: [n1:7100, n2:7100, n3:7100], num_attempts: 98) passed its deadline 2360254.260s (passed: 5.048s): . Errors from tablet servers: [Timed out (yb/rpc/rpc.cc:199): LookupByIdRpc(983ca99bca2449d09b03913939990969, 2) failed: timed out after deadline expired: LookupByIdRpc(983ca99bca2449d09b03913939990969, 2) passed its deadline 2360254.260s (passed: 5.052s): Timed out (yb/rpc/rpc.cc:199): GetLeaderMasterRpc(addrs: [n1:7100, n2:7100, n3:7100], num_attempts: 98) passed its deadline 2360254.260s (passed: 5.048s)]
We should make it user-friendly
The text was updated successfully, but these errors were encountered: