Skip to content

Commit

Permalink
style: Format code with prettier and gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] authored and vankichi committed Sep 8, 2023
1 parent 2bb7df5 commit 2a6f5ea
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/api/insert.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ When the response code is NOT `0 (OK)`, the request process may not be completed

Here are some common reason and how to resolve of each error.

| name | common reason | how to resolve |
| :---------------- | :------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------- |
| CANCELLED | executed cancel() of rpc from client/server side or something network problems between client and server | Check the code, especially around timeout and connection management and fix if needed. |
| INVALID_ARGUMENT | dimension of request vector is NOT same as Vald Agent's config or requested vector's ID is empty or some request payload is invalid. | check Agent config and request payload and fix request payload or Agent config |
| DEADLINE_EXCEEDED | RPC timeout setting is too short on client or server side | check timeout setting and fix if needed |
| ALREADY_EXISTS | request ID is already inserted | change request ID |
| INTERNAL | target Vald cluster or network route has some critical error | check target Vald cluster at first and check network route including ingress as second |
| name | common reason | how to resolve |
| :---------------- | :----------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------- |
| CANCELLED | executed cancel() of rpc from client/server side or something network problems between client and server | Check the code, especially around timeout and connection management and fix if needed. |
| INVALID_ARGUMENT | dimension of request vector is NOT same as Vald Agent's config or requested vector's ID is empty or some request payload is invalid. | check Agent config and request payload and fix request payload or Agent config |
| DEADLINE_EXCEEDED | RPC timeout setting is too short on client or server side | check timeout setting and fix if needed |
| ALREADY_EXISTS | request ID is already inserted | change request ID |
| INTERNAL | target Vald cluster or network route has some critical error | check target Vald cluster at first and check network route including ingress as second |

## StreamInsert RPC

Expand Down

0 comments on commit 2a6f5ea

Please sign in to comment.