smellthemoon
3dae84f065
Use merr in proxy ( #22904 )
...
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-03-24 15:27:58 +08:00
wei liu
6b5dfa6db2
deprecate shard cache immediately if query failed ( #22779 )
...
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-03-17 16:25:55 +08:00
wei liu
69cc68caff
support first or random strategy ( #22766 )
...
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-03-16 14:25:55 +08:00
congqixia
3ffa6d5302
Mark cache deprecated instead of removing it ( #22674 )
...
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-10 10:19:53 +08:00
yah01
90a5aa6265
Refine errors, re-define error codes ( #22501 )
...
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-09 15:47:52 +08:00
wei liu
1a1a5caafa
update shard leader cache periodically ( #22595 )
...
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-03-08 15:13:51 +08:00
Enwei Jiao
697dedac7e
Use cockroachdb/errors to replace other error pkg ( #22390 )
...
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-02-26 11:31:49 +08:00
congqixia
abbf1efa0e
[Cherry-Pick] Fix read wrong variable caused nil error ( #22297 )
...
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-02-21 18:38:26 +08:00
wei liu
73c44d4b29
resource group impl ( #21609 )
...
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-01-30 10:19:48 +08:00
zhenshan.cao
ce3e0fcf9e
Fixbug: proxy meta_cache partially update ( #21232 ) ( #21242 )
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2022-12-14 20:45:23 +08:00
Enwei Jiao
956c5e1b9d
Make Params singleton ( #20088 )
...
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2022-11-04 14:25:38 +08:00
cai.zhang
c551de8f72
Catch errors on gloabl meta cache ( #20023 )
...
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-10-25 11:29:30 +08:00
Xiaofan
3d3289ce3e
Fix collection metrics leakage ( #19944 )
...
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-10-21 10:13:28 +08:00
congqixia
b15e97a61a
Improve proxy leader cache lock logic ( #19917 )
...
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-10-20 16:11:27 +08:00
smellthemoon
108e51b2f0
[test]Create index before load and fix error message ( #19874 ) ( #19857 )
...
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
Co-authored-by: zhuwenxing <wenxing.zhu@zilliz.com>
2022-10-19 10:01:26 +08:00
Xiaofan
5b9988b627
Support collection level monitoring metrics ( #19686 )
...
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-10-18 19:17:27 +08:00
Ten Thousand Leaves
db33f401fd
Fix proxy crash issue when meta cache miss ( #19844 )
...
issue: #19557
/kind bug
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-10-18 13:11:26 +08:00
SimFG
a55f739608
Separate public proto files ( #19782 )
...
Signed-off-by: SimFG <bang.fu@zilliz.com>
Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-10-16 20:49:27 +08:00
Jiquan Long
73463d030d
Fix dml stream leakage in Proxy ( #19450 )
...
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2022-09-27 19:18:54 +08:00
Bingyi Sun
72346f31b0
Add collectionID when checking collection load ( #19322 )
...
Signed-off-by: sunby <bingyi.sun@zilliz.com>
Signed-off-by: sunby <bingyi.sun@zilliz.com>
Co-authored-by: sunby <bingyi.sun@zilliz.com>
2022-09-22 15:08:50 +08:00
SimFG
d7f38a803d
Separate some proto files ( #19218 )
...
Signed-off-by: SimFG <bang.fu@zilliz.com>
Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-09-16 16:56:49 +08:00
SimFG
69c0b2fb49
Improve the storage method of the grant info in the metastore ( #18817 )
...
Signed-off-by: SimFG <bang.fu@zilliz.com>
Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-08-26 19:22:56 +08:00
jaime
516fd928f9
Fix password verification miss cache ( #18730 )
...
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
2022-08-19 19:42:50 +08:00
SimFG
c267ad612d
Support Role-Based Access Control II ( #18528 )
...
Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-08-05 16:28:35 +08:00
SimFG
ff0200210a
Support Role-Based Access Control ( #18425 )
...
Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-08-04 11:04:34 +08:00
codeman
5fda8261d0
Fix: Unable to list newly created credential users ( #18117 ) ( #18153 )
...
Signed-off-by: kejiang <ke.jiang@zilliz.com>
Co-authored-by: kejiang <ke.jiang@zilliz.com>
2022-07-07 21:16:22 +08:00
codeman
6ab850bedf
Fix update credential failure ( #17963 ) ( #17970 )
...
Signed-off-by: kejiang <ke.jiang@zilliz.com>
Co-authored-by: kejiang <ke.jiang@zilliz.com>
2022-06-30 21:34:18 +08:00
codeman
95a3830dc6
fix password comparison too slow ( #17874 ) ( #17897 )
...
Signed-off-by: kejiang <ke.jiang@zilliz.com>
Co-authored-by: kejiang <ke.jiang@zilliz.com>
2022-06-29 20:02:18 +08:00
zhenshan.cao
5f44e45480
Add metrics on QueryNode and Proxy ( #17328 )
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2022-06-02 16:06:03 +08:00
zhenshan.cao
2763efc9b0
Add cache of grpc client of ShardLeader in proxy ( #17301 )
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2022-06-02 12:16:03 +08:00
Letian Jiang
f2a27e0e64
Retry GetShardLeaders until service available or timeout ( #17183 )
...
Signed-off-by: Letian Jiang <letian.jiang@zilliz.com>
2022-05-26 20:28:02 +08:00
congqixia
e06d6d7cc6
Returns collection instead of copy to make leaderMutex work ( #17206 )
...
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-05-25 15:20:00 +08:00
congqixia
90ee23df22
Fix shardLeader cache concurrent access ( #17120 )
...
Fix write map without mutex control
Also GetShards returns a copy of leader list instead of original one
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-05-20 14:33:57 +08:00
bigsheeper
9eeec4a2d5
Add collection load cache and InvalidateCollMetaCache by collID ( #16882 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2022-05-19 10:13:56 +08:00
XuanYang-cn
127dd34b37
Make proxy use roundrobin to choose replica ( #17063 )
...
Fixes : #17055
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2022-05-17 22:35:57 +08:00
XuanYang-cn
a1480aaf76
Clear shard leaders cache when releasing ( #16942 )
...
See also: #16926
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2022-05-17 11:11:56 +08:00
Xiaofan
89b4a34892
Fix Data race in NodeID ( #16603 )
...
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-04-24 22:03:44 +08:00
congqixia
69252f812d
Implement memory replica in Proxy, QueryNode and QueryCoord ( #16470 )
...
Related to #16298 #16291 #16154
Co-authored-by: sunby <bingyi.sun@zilliz.com>
Co-authored-by: yangxuan <xuan.yang@zilliz.com>
Co-authored-by: yah01 <yang.cen@zilliz.com>
Co-authored-by: Letian Jiang <letian.jiang@zilliz.com>
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-04-20 16:15:41 +08:00
codeman
4e12271d79
Support login with username and password ( #15656 ) ( #16341 )
...
Signed-off-by: kejiang <ke.jiang@zilliz.com>
Co-authored-by: kejiang <ke.jiang@zilliz.com>
2022-04-11 19:49:34 +08:00
zhenshan.cao
f3eeecf146
Reduce the number of metrics ( #16030 )
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2022-03-15 21:51:21 +08:00
cai.zhang
d183748484
Add some prometheus metrics for proxy ( #15582 )
...
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-03-02 16:23:55 +08:00
Jiquan Long
5d91fb3c70
[skip e2e] Add comment for MetaCache ( #15169 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-12 10:57:41 +08:00
Jiquan Long
ff60bb8bfc
[skip e2e] Add comment for GetCollectionSchema ( #15113 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-10 22:37:58 +08:00
Jiquan Long
149e049f04
[skip e2e] Add implementation assertion for Cache ( #15022 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-07 17:51:33 +08:00
Jiquan Long
72e3352366
[skip e2e] Add comment for GetPartitionInfo ( #15021 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-07 17:49:43 +08:00
Jiquan Long
6a8d8f43c4
[skip e2e] Add comment for GetPartitions ( #14954 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-06 23:32:00 +08:00
Jiquan Long
a18744346a
[skip e2e] Add comment for GetPartitionID ( #14872 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-05 23:19:21 +08:00
congqixia
36a43e647d
[skip e2e] Add comment for GetCollectionInfo of proxy meta cache ( #14824 )
...
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-01-05 14:27:42 +08:00
congqixia
cd43b12a77
[skip e2e] Add comment for meta_cache.go ( #14746 )
...
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-01-04 14:07:56 +08:00
Jiquan Long
700546708c
[skip e2e] Add comment for GetCollectionInfo ( #14636 )
...
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-30 20:43:26 +08:00