milvus/internal/util/grpcclient
wei liu 147a3b8bdc
fix: Grpcclient return unrecoverable error (#31256)
issue: #31222

grpcclient's `call` func return a unrecoverable error, then the caller's
retry policy also breaks due to this unrecoverable error.

This PR introduce `retry.Handle`, the new func use `func() (bool,
error)` as input parameters, which return `shouldRetry` directly, to
avoid grpcclient return a unrecoverable error

Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-03-15 10:03:05 +08:00
..
auth.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
client_test.go enhance: support stream call for grpc client (#30013) 2024-03-07 17:45:01 +08:00
client.go fix: Grpcclient return unrecoverable error (#31256) 2024-03-15 10:03:05 +08:00
errors.go
grpc_encoder_test.go
grpc_encoder.go Format the code (#27275) 2023-09-21 09:45:27 +08:00