milvus/pkg/util
congqixia f0d0651989
Do not reset connection immediately if grpc code is Canceled or DeadlineExceeded (#27014)
We found lots of connection reset & canceled due to recent retry change
Current implementation resets connection no matter what the error code is
To sync behavior to previous retry, skip reset connection only if cancel error happens too much.

Also adds a config item for minResetInterval for grpc reset connection

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-13 15:01:18 +08:00
..
cache Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
cgoconverter Use typeutil.ConcurrentMap instead of sync.Map (#25846) 2023-07-24 10:23:01 +08:00
commonpbutil Use go-api/v2 for milvus-proto (#24770) 2023-06-09 01:28:37 +08:00
compressor Upgrade minio-go and add region and virtual host config for segcore chunk manager (#26194) 2023-08-11 10:37:36 +08:00
conc Fix unstable TestSingleflight unit test (#26363) 2023-08-16 10:07:33 +08:00
contextutil Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
crypto Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
errorutil Use go-api/v2 for milvus-proto (#24770) 2023-06-09 01:28:37 +08:00
etcd [skip e2e] Add connection log for etcd and grpc (#26536) 2023-08-22 21:20:24 +08:00
funcutil Add float16 vector (#25852) 2023-09-08 10:03:16 +08:00
gc Fix integration tests logic (#24063) 2023-05-15 14:45:21 +08:00
generic Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
hardware Remove log.Error(err.error())-style log (#26783) 2023-09-01 13:09:01 +08:00
indexparamcheck Add float16 vector (#25852) 2023-09-08 10:03:16 +08:00
indexparams Decouple basetable and componentparam (#26725) 2023-09-05 10:31:48 +08:00
interceptor Decouple basetable and componentparam (#26725) 2023-09-05 10:31:48 +08:00
lifetime Refine delegator lifetime control (#26881) 2023-09-07 10:11:15 +08:00
lock Fix misuse of waitgroup in metrics mutex ut (#26865) 2023-09-06 12:39:14 +08:00
logutil Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
merr Refine QueryNode errors (#27013) 2023-09-12 16:07:18 +08:00
metautil Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
metric Add binary metric types SUBSTRUCTURE/SUPERSTRUCTURE back (#26766) 2023-08-31 20:07:00 +08:00
metricsinfo Use go-api/v2 for milvus-proto (#24770) 2023-06-09 01:28:37 +08:00
milvuserrors Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
parameterutil.go Add length check when insert and upsert (#24759) 2023-06-15 10:24:38 +08:00
paramtable Do not reset connection immediately if grpc code is Canceled or DeadlineExceeded (#27014) 2023-09-13 15:01:18 +08:00
ratelimitutil Support refund the tokens to limiter (#25598) 2023-07-14 15:58:32 +08:00
retry Add timeout in dispatcher, AsConsumer and Seek (#26686) 2023-09-08 09:51:17 +08:00
symbolizer Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
testutils Add Promethues suite test utility (#26046) 2023-08-02 10:05:05 +08:00
tikv tikv integration (#26246) 2023-09-07 07:25:14 +08:00
timerecord Use typeutil.ConcurrentMap instead of sync.Map (#25846) 2023-07-24 10:23:01 +08:00
tsoutil Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
typeutil Add float16 vector (#25852) 2023-09-08 10:03:16 +08:00
uniquegenerator Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
constant.go tikv integration (#26246) 2023-09-07 07:25:14 +08:00
OWNERS Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00