Commit Graph

748 Commits (37464a281dfd4aa9b4aaa2d4e109747ba8c13e42)

Author SHA1 Message Date
godchen 51b353b52c
Add msgstream reader (#12130)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-19 15:57:12 +08:00
dragondriver ee0f753f7a
Fix datarace between GetComponentStates and Register (#11935)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-19 13:57:12 +08:00
dragondriver e00976fddb
[skip ci] Add comment for GetPersistentSegmentInfo (#12097)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-18 22:13:28 +08:00
dragondriver 951d9a2f96
[skip ci] Add comment for GetDdChannel (#12096)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-18 21:26:28 +08:00
dragondriver 5dc85727a7
[skip ci] Add comment for CalcDistance (#12095)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-18 21:24:38 +08:00
dragondriver aa17f561fe
[skip ci] Add comment for AlterAlias (#12020)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-17 19:57:12 +08:00
dragondriver c4adca9773
[skip ci] Add comment for DropAlias (#12019)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-17 19:53:18 +08:00
dragondriver 2d4f691905
[skip ci] Add comment for CreateAlias (#12018)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-17 19:51:24 +08:00
shaoyue b231965e15
[skip ci] Add comments for exported funcs in internal/proxy/task.go (#11980)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-11-17 16:13:17 +08:00
congqixia 5edbb82610
Add session revoke (#11908)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-11-16 22:31:14 +08:00
dragondriver eaea788b6b
[skip ci] Add comment for Query (#11905)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-16 19:25:35 +08:00
dragondriver b265ac0dd7
[skip ci] Add comment for Flush (#11904)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-16 19:23:40 +08:00
dragondriver ef7575fe29
[skip ci] Add comment for Search (#11903)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-16 19:19:31 +08:00
dragondriver 8c951217ee
Fix wrong distances caused by metric type (#11901)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-16 19:11:10 +08:00
Xiangyu Wang 12f50cb22c
[skip ci]Update OWNERS files (#11898)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-11-16 15:41:11 +08:00
yukun 27d711e5d2
Insert task hash by primarykeys (#11819)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-11-16 14:21:27 +08:00
shaoyue 5b50731ff4
Fix searchResultBufFlags & queryResultBufFlags memory leak (#11585)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-11-16 14:13:12 +08:00
dragondriver da854d783e
[skip ci] Add comment for Delete (#11844)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-16 09:10:20 +08:00
dragondriver e551283634
[skip ci] Add comment for Insert (#11843)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-16 09:08:08 +08:00
dragondriver 471ce979e3
[skip ci] Add comment for GetIndexState (#11842)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-16 09:05:35 +08:00
Xiaofan 71e814f796
Remove common.yaml and component.yaml (#11661)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-11-12 21:25:08 +08:00
dragondriver ec3d723986
[skip ci] Add comment for DropIndex (#11741)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-12 19:25:36 +08:00
dragondriver 780c70551d
[skip ci] Add comment for DescribeIndex (#11740)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-12 19:23:41 +08:00
dragondriver f7d09b2695
[skip ci] Add comment for CreateIndex (#11739)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-12 19:21:46 +08:00
Xiaofan 3cd47cd89e
Remove common.yaml and component.yaml (#11662)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-11-12 18:53:11 +08:00
dragondriver b3172882ed
[skip ci] Add comment for ShowPartitions (#11678)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-11 23:14:44 +08:00
dragondriver 2114b807d3
[skip ci] Add comment for GetPartitionsStatistics (#11677)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-11 21:09:06 +08:00
dragondriver 45f667a92e
[skip ci] Add comment for ReleasePartitions (#11676)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-11 21:07:14 +08:00
Xiangyu Wang feb6e866c8
Improve import statements (#11572)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-11-11 11:02:42 +08:00
godchen 5357e301f4
Fix retrieve search error (#11501)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-11 00:54:45 +08:00
XuanYang-cn 8ef650be35
[skip ci]Update license for proxy channels (#11603)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-10 23:57:08 +08:00
XuanYang-cn eea0333cb2
[skip ci]Update license for proxy condition (#11604)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-10 23:56:52 +08:00
XuanYang-cn 8f4ed0d79e
[skip ci]Update license for proxy impl (#11606)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-10 23:56:41 +08:00
XuanYang-cn d4f77253e6
[skip ci]Update license for proxy meta (#11607)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-10 23:56:35 +08:00
XuanYang-cn 39222dadc2
[skip ci]Update license for proxy param (#11608)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-10 23:56:17 +08:00
XuanYang-cn 512526c661
[skip ci]Update license for proxy plan (#11609)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-10 23:56:01 +08:00
XuanYang-cn 99894e451d
[skip ci]Update license for proxy task (#11611)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-10 23:55:48 +08:00
XuanYang-cn 4e9ec06d61
[skip ci]Update license for proxy validate (#11612)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-10 23:55:32 +08:00
XuanYang-cn 37eab11989
[skip ci]Update license for proxy dummy (#11605)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-10 23:43:27 +08:00
XuanYang-cn 7c6e4c5ee7
[skip ci]Update license for proxy mock (#11610)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-10 23:41:00 +08:00
Xiangyu Wang 236876bf54
Improve import statements (#11576)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-11-10 21:10:46 +08:00
Xiangyu Wang 8e9f048108
Improve import statements (#11574)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-11-10 21:08:51 +08:00
dragondriver f7d7b543cb
[skip ci] Add comment for LoadPartitions (#11567)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-10 19:57:59 +08:00
dragondriver cfda5ecce8
[skip ci] Add comment for HasPartition (#11566)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-10 19:56:05 +08:00
dragondriver c60cf1133c
[skip ci] Add comment for DropPartition (#11565)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-10 19:54:09 +08:00
Xiaofan 5f08b67156
Move node.yaml to component.yaml (#11363)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-11-10 14:27:37 +08:00
dragondriver ccbead0404
[skip ci] Add comment for CreatePartition (#11513)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-09 20:02:14 +08:00
dragondriver 7fa9edeb25
[skip ci] Add comment for ShowCollections (#11512)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-09 20:00:17 +08:00
dragondriver 6973e989ad
[skip ci] Add comment for GetCollectionStatistics (#11511)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-09 19:58:10 +08:00
shaoyue 25382cdfdf
[skip ci] Update comment typo in collectResultLoop (#11479)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-11-09 19:34:49 +08:00
Bingyi Sun c3f0c5a3ff
Add compaction interfaces in proxy (#11431)
issue: #9904
Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
2021-11-09 14:47:02 +08:00
Xiangyu Wang 0eb71f7ee5
Logging traceID in process of processing delete request (#11374)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-11-09 11:01:02 +08:00
godchen 639800241d
Make flow graph for delta channel (#11379)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-09 09:27:04 +08:00
dragondriver 9ff3b75f01
[skip ci] Add comment for DescribeCollection (#11446)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-08 20:36:04 +08:00
dragondriver d8aa86ca0a
[skip ci] Add comment for ReleaseCollection (#11445)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-08 20:34:16 +08:00
dragondriver b9375e62f9
[skip ci] Add comment for LoadCollection (#11444)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-08 20:31:53 +08:00
Cai Yudong e27283abbf
Update query reduce log (#11402)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-08 16:07:34 +08:00
Cai Yudong d32c77e99b
Update search reduce log (#11400)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-08 16:03:30 +08:00
xige-16 96cd9352ff
Fix wrong TriggerCondition When load balance (#11389)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-08 11:15:04 +08:00
bigsheeper 38375ee1d3
Add LoadBalance (#9945)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-06 16:54:59 +08:00
zhenshan.cao 595322ed51
[skip ci]Fix golint error in proxy (#11349)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-11-05 22:42:57 +08:00
sunby c26cd79532
Add compaction (#9906)
issue: #9904
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-11-05 22:25:00 +08:00
dragondriver f67bd0ae0c
[skip ci] Add comment for HasCollection (#11333)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-05 19:52:07 +08:00
dragondriver 2064dde4cc
[skip ci] Add comment for DropCollection (#11332)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-05 19:50:22 +08:00
dragondriver 1aaf7ad298
[skip ci] Add comment for CreateCollection (#11331)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-05 19:46:19 +08:00
Xiaofan d81b15163f
Seek Query/Query Result channel to Latest (#10985)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-11-05 14:57:44 +08:00
godchen 88c9067873
Add hashvalue warning (#10668)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-05 14:20:55 +08:00
bigsheeper c99d1a56bf
Refactor proxy ticker to fix guarantee_time not work (#11248)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-05 09:14:02 +08:00
dragondriver 50f51f4b0c
[skip ci] Add comment for ReleaseDQLMessageStream (#11259)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-04 19:10:19 +08:00
dragondriver ad46968840
[skip ci] Add comment for InvalidateCollectionMetaCache (#11258)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-04 19:08:30 +08:00
dragondriver 202ce08e12
[skip ci] Add comment for GetStatisticsChannel (#11257)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-04 19:04:17 +08:00
Cai Yudong 0fac38000c
Correct empty retrieve result handling (#11219)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-04 18:08:32 +08:00
dragondriver 2c687d372e
[skip ci] Add comments for GetComponentStates (#11185)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-03 19:52:13 +08:00
BUPTAnderson 6b25ab5801
[skip ci] Remove duplicated code in ParamTable init (#11175)
Signed-off-by: BUPTAnderson <yunlongkong@126.com>
2021-11-03 17:06:18 +08:00
dragondriver ac2a276815
[skip ci] Fix golint warning of validate_util.go (#11089)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-02 21:43:08 +08:00
godchen a0a3a889e7
Add common endian for global use (#11092)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-02 18:16:32 +08:00
Cai Yudong 70188990dc
Remove primary key duplicated query result on proxy (#10967)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-01 10:27:56 +08:00
Xiaofan 385eed1d17
Remove knowhere config (#10614)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-11-01 10:26:03 +08:00
Cai Yudong da0cb4a702
Use primary key only to check search result duplicate (#10949)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-01 10:06:03 +08:00
Xiaofan 2df2d488e1
Fix Unit test fatal fail (#10933)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-10-30 10:24:38 +08:00
Cai Yudong 0049837dc4
Add utils API AppendFieldData (#10910)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-29 18:06:43 +08:00
zhenshan.cao aad9a431e7
[skip ci]Fix golint error in proxy (#10863)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-28 23:56:40 +08:00
Xiaofan 6fddcb3925
Fix Session checker for proxy (#10737)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-10-27 21:58:33 +08:00
Cai Yudong 5ad4cdda25
Clean search result duplicates removal debug log (#10769)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-27 20:02:26 +08:00
xige-16 80215eb2f0
Retruen segment state when get query segment info (#10730)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-27 19:28:21 +08:00
Cai Yudong 24f9411249
Optimize queryTask PostExecute (#10739)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-27 17:34:35 +08:00
Cai Yudong c51155a542
Optimize decodeSearchResults (#10728)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-27 14:10:27 +08:00
xige-16 fe8bfc3788
Fix empty getQuerySegmentInfos results (#10667)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-26 19:26:43 +08:00
cai.zhang 3734ff49ac
Add default value for the parameter roundDeciaml (#9626)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-26 18:24:23 +08:00
zhenshan.cao bb08df28f3
Fix golint error in proxy (#10620)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-26 10:38:41 +08:00
zhenshan.cao 5e00e9a05b
Fix golint error in proxy (#10623)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-25 23:56:19 +08:00
zhenshan.cao 82983494a0
Fix golint error in proxy (#10622)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-25 23:44:21 +08:00
zhenshan.cao 4b0fd28de7
Fix golint error in proxy (#10621)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-25 23:42:29 +08:00
zhenshan.cao 9458e04538
Fix golint error in proxy (#10618)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-25 23:32:20 +08:00
godchen daaa9428ea
Fix delete msg hash error (#10599)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-25 22:20:20 +08:00
godchen d2e0943f21
Fix delete node flush error (#10549)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-25 18:49:20 +08:00
cai.zhang c3cce20413
Reset the msgstream threshold to PulsarMaxMessageSize (#10186)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-25 17:57:14 +08:00
Cai Yudong 880e375b00
[skip ci] Remove comments (#10541)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-25 15:25:12 +08:00
Cai Yudong f6802589eb
Optimize proxy reduce code readability (#10537)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-25 14:29:12 +08:00
zhenshan.cao 66c1f7f197
Fix proxy unittest bug:failed to stop rootcoord (#10524)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-24 16:13:11 +08:00
zhenshan.cao 3af852eafb
Fix golint error in proxy (#10488)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-23 23:17:11 +08:00
zhenshan.cao 51d82fc71d
Fix golint error in proxy (#10487)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-23 18:25:37 +08:00
zhenshan.cao 169359448f
Fix golint error in proxy (#10486)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-23 18:23:44 +08:00
zhenshan.cao 43ef5d5eb9
Fix golint error in proxy (#10485)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-23 10:53:12 +08:00
Cai Yudong 824005115a
Remove duplicated search results in proxy (#10355)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-21 19:52:28 +08:00
zhenshan.cao a287bcf49d
Fix proxy unittest (#10289)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-21 15:30:36 +08:00
Cai Yudong b099179ac0
Optimize proxy reduce search result data (#10327)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-21 10:46:36 +08:00
Cai Yudong b40513b211
Use timerecord to calculate time span (#10287)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-20 17:56:38 +08:00
dragondriver 9140da3cc6
[skip ci] Add comment for time tick (#10145)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-19 14:16:58 +08:00
dragondriver e529012ab2
[skip ci] Add comment for cache (#10144)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-19 14:15:04 +08:00
dragondriver 7602962341
[skip ci] Add comment for proxy (#10143)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-19 14:13:12 +08:00
godchen 24a6fc096b
Update query node bloom filter (#10109)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-18 20:08:42 +08:00
dragondriver 353c4cc8ce
[skip ci] Add comment for stop proxy (#10032)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-16 22:08:52 +08:00
dragondriver 1211e286da
[skip ci] Add comment for start proxy (#10031)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-16 22:06:57 +08:00
dragondriver 9d177593ae
[skip ci] Add comment for SetRootCoordClient (#10033)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-16 21:40:53 +08:00
Cai Yudong dc0269cf4c
Optimize proxy getChannels (#9964)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-15 20:37:04 +08:00
zhenshan.cao f6a836c784
Fix golint error in proxy (#9905)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-15 20:27:09 +08:00
Xiaofan a0b98dacda
Skip reconsume tt msgstream when datacoord restart (#9684)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-10-15 11:46:33 +08:00
dragondriver 94e4dfd226
[skip ci] Add comment for getSystemInfoMetrics (#9899)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-14 19:18:34 +08:00
dragondriver 336869b46a
[skip ci] Add comments for proxy error (#9898)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-14 19:16:39 +08:00
dragondriver 7eab390927
[skip ci] Add comment for proxy Init (#9900)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-14 19:14:35 +08:00
yukun 92815f4542
Change timestamp to timestamps in internalproto.DeleteRequest (#9802)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-14 14:48:34 +08:00
dragondriver 72d3d470ba
Use the server id as identifier in system topology graph (#9825)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-14 11:12:38 +08:00
zhenshan.cao 3b230b5cd9
Fix golint error in proxy (#9834)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-13 21:44:37 +08:00
dragondriver 8f5bf46705
Fix golint warning of plan_parser.go (#9827)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-13 20:30:32 +08:00
congqixia b0e038d0b3
Add proxy channelsMgr impl assertion (#9758)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-13 11:04:33 +08:00
dragondriver 7543122186
Expose created time and updated time to proxy metrics (#9727)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-12 19:31:25 +08:00
Cai Yudong 84e568ee32
Support Delete in datanode (#8505)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-11 16:31:44 +08:00
xige-16 e99ecc8cab
Add ProduceMark interface to return messageID (#9556)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-11 11:38:57 +08:00
Cai Yudong bd3a8ed3cf
Support delete in proxy (#9588)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-11 07:48:55 +08:00
Xiangyu Wang 75716e0deb
Update partition name validation in DeleteTask (#9560)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-09 22:50:39 +08:00
congqixia af1402dcb8
Add comment and implementation assertion for proxy condition.go (#9576)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-09 21:01:18 +08:00
dragondriver 302ca04d6c
Describe collection by collection ID (#9471)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-09 16:10:56 +08:00
elfisworking d4232f88a2
For search funtion adding a round_decimal paramter to precision control (#8574)
Signed-off-by: elfisworking <zymustb@126.com>
2021-10-08 17:39:55 +08:00
dragondriver 59265ed753
[skip ci] Add comments for NewProxy (#9415)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-07 20:24:40 +08:00
congqixia 365882ddf2
Add Proxy implementation Assertion (#9204)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-04 17:28:30 +08:00
congqixia 827a18a7c1
Fix Assigner typo (#9075)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-02 18:43:56 +08:00
dragondriver 12164248eb
[skip ci] Add desc comments for ValidateCollectionAlias (#9064)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-02 12:04:12 +08:00
dragondriver 1fe51b0fce
[skip ci] Add desc comments for channelsTimeTicker (#9020)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-01 15:40:17 +08:00
dragondriver ab0255b21a
[skip ci] Add desc comments for Condition (#9019)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-01 15:37:18 +08:00
dragondriver e6679d559d
[skip ci] Add desc comments for channelsMgr (#9018)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-01 15:32:15 +08:00
Xiaofan 2c2b800ff4
Change Log Name with NodeId (#8721)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-10-01 08:52:50 +08:00
godchen 4bfa85eda3
Fix searchTask result nil (#8844)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-29 15:48:00 +08:00
dragondriver 9e194888ce
Use WaitGroup to make sure all uts of proxy completed (#8821)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-29 11:07:59 +08:00
zhenshan.cao a662c62880
Fix golint error of segment.go in proxy package (#8629)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-09-28 23:06:15 +08:00
dragondriver 7f61c1e8ea
Refactor alias ut (#8800)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-28 21:30:03 +08:00
dragondriver bb121c59cb
Remove not used TaskDoneTest of proxy scheduler (#8710)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-28 13:58:04 +08:00
Cai Yudong ed4421d4a0
Update getCompareOpType (#8653)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-28 09:46:04 +08:00
Cai Yudong 97451ba229
[skip ci] Add comments for parse bool node (#8552)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-27 23:58:02 +08:00
dragondriver 6065bb50c4
Fix golint warning of funcutil (#8652)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-27 23:18:02 +08:00
Xiaofan 585989935a
Revert the logger change (#8677)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-27 17:37:57 +08:00
congqixia e7117f67ee
Add BroadcastMark for Msgstream returning MessageIDs (#8654)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-27 14:10:09 +08:00
zhenshan.cao b71bffe26f
Replace ChannelID with ShardName in DML Request (#8539)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-09-27 10:01:59 +08:00
Cai Yudong 29db80f7e2
Update plan parser coding style (#8560)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-27 09:51:59 +08:00
Cai Yudong 7e0a49125c
Move createColumnInfo out of ParserContext (#8558)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-27 09:47:57 +08:00
Xiaofan d38adda8c2
Rename log file based on node id (#8517)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-26 21:18:11 +08:00
dragondriver 8091e76666
Remove old time tick logic (#8596)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-26 19:23:56 +08:00
groot e4e762f2e8
Reduce go unittest time cost (#8503)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-26 12:50:24 +08:00
groot a6a64692f8
Reduce go unittest time cost (#8502)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-26 12:48:32 +08:00
groot 03ca388fb8
Reduce go unittest time cost (#8490)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-26 10:22:03 +08:00
Cai Yudong 68f73302a5
Let plan_parser err out when modulo zero (#8535)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-26 09:42:02 +08:00
Cai Yudong 9497ba5523
Add more unittest for proxy/plan_parser (#8534)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-25 13:43:56 +08:00
Cai Yudong 3938d68034
Optimize proxy query execute (#8479)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-25 00:21:57 +08:00
groot d28341932e
Reduce go unittest time cost (#8448)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-24 15:27:54 +08:00
Cai Yudong ee3eaa2966
Rename CreateQueryExprPlan to CreateExprPlan (#8438)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-24 10:27:54 +08:00
Xiaofan f5173b595f
Add a channel prefix for all channels (#8166)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-23 10:53:53 +08:00
XuanYang-cn 4ee8275b88
Fix master compile error (#8333)
Resolves: #8336

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-22 20:31:54 +08:00
cai.zhang 729d409a32
Add trace log for search (#8302)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-22 19:36:00 +08:00
cai.zhang 79b7dcc75a
Add trace log for insert (#8301)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-22 19:33:54 +08:00
dragondriver b2e8ba7b33
Fix reduce algorithm in proxy search task (#8206)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-22 10:15:54 +08:00
Xiaofan 0c35cd57b0
Unify param table to the same naming format (#8254)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-20 23:27:52 +08:00
Xiangyu Wang c314b2b4a8
Remove unused label rules (#7929)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-09-18 18:19:51 +08:00
congqixia bdfb8768d4
Enable gosec (#8202)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-18 14:45:50 +08:00
Yusup ccb57ba4b2
add collection alias (#7255)
Signed-off-by: Yusup <yusup@lsgrep.com>
2021-09-18 11:13:51 +08:00
yukun 46871fcaec
Remove unused code in queryTask (#8077)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-17 21:57:58 +08:00
dragondriver 4f9d124ed4
Fix data race of proxy ut (#8119)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-17 19:45:42 +08:00
congqixia 05efb3a029
Fix use address of loop var (#7433)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-17 16:21:50 +08:00
congqixia 4fe22bcaaa
Fix query task panicking (#8060)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-16 20:03:50 +08:00
dragondriver 10321e0a1a
Cover error cases that timeout is too small (#8038)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-16 14:09:49 +08:00
dragondriver bf2ebc794d
Cover error cases that task queue is full (#8033)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-16 11:29:49 +08:00
dragondriver 7f048ea8c8
Support to set max task number of task queue (#7974)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-15 19:09:50 +08:00
dragondriver 502cb68c08
Fix the logic of waiting for collection to be loaded (#7978)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-15 17:34:02 +08:00
dragondriver d2e18fd53b
Cover error cases that proxy is unhealthy (#7951)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-15 15:46:06 +08:00
dragondriver 5f3b961502
Add test case for delete task (#7939)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-15 14:04:54 +08:00
dragondriver cf1d773259
Add test cases for metrics info of proxy (#7927)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-15 10:13:49 +08:00
Xiaofan c72cff2dc2
[skip ci] Remove Unnecessary logs in pickCanDoFunc (#7932)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-15 10:01:48 +08:00
Xiaofan d0667b58d7
Change Error Msg When dimension of vector field not exist (#7931)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-15 10:01:30 +08:00
dragondriver 2382be82a5
Add test case for the workflow of insert task (#7912)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-14 19:07:48 +08:00
dragondriver ec776a30dc
Add test case for the workflow of query task (#7886)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-14 16:19:08 +08:00
yukun 4bf3c6889c
Support bool field filter in search and query expression (#7814)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-14 16:15:47 +08:00
dragondriver f122e93383
Proxy ut cover case that search task process the fields data (#7874)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-14 14:09:05 +08:00
zhenshan.cao e5e4b24954
Fix bug: describe collection return wrong shard number (#7841)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-09-14 11:59:47 +08:00
dragondriver bcf9b4e240
Coverage error case of searchTask.PreExecute (#7826)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-14 10:24:00 +08:00
dragondriver 8d239b6473
Add test cases for search task (#7796)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-13 17:12:19 +08:00
cai.zhang 9b0aacd07a
Increase code coverage rate for proxy (#7727)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-13 11:58:11 +08:00
zhenshan.cao db7fdefcd0
Add unittest for proxy (#7764)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-09-13 10:56:03 +08:00
Xiaofan 619c4393f3
Refine logs in proxy search path(#7357) (#7753)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-12 17:54:01 +08:00
dragondriver 5a3fc37584
Add test cases for create collection (#7759)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-11 18:06:02 +08:00
dragondriver a872a4357c
Add more test cases for proxy implementation (#7685)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-11 11:36:22 +08:00
dragondriver 596357dc85
Add more data definition test cases (#7623)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-09 19:02:08 +08:00
dragondriver 9b21b3b5fd
Initialize test framework of proxy (#7563)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-09 10:06:29 +08:00
zhenshan.cao b0524adbd8
Support specified shard number when create collection (#7482)
Add shards_num to CollectionInfo

Modify dmlChannelNum config

Compatible with old meta

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-09-08 15:00:00 +08:00
dragondriver 42b687bf48
Add unittest for task scheduler (#7508)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-06 20:49:04 +08:00
dragondriver 960741ee16
Support more detailed metrics information (#7472)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-03 19:35:47 +08:00
dragondriver 1db573731b
Cache the system information metrics (#7436)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-03 17:15:26 +08:00
yukun 94272bba87
Support query by expression (#7386)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-03 17:12:55 +08:00
dragondriver 9b87da1ee8
Fix deadlock of channels time ticker (#7444)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-03 11:53:29 +08:00
godchen 8b1ae98fa9
Add id allocator ut (#7440)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-03 09:44:10 +08:00
Cai Yudong 7edd96989f
Improve codecov for paramtable and typeutil (#7451)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-02 22:18:10 +08:00
dragondriver 3721cbfea1
Proxy metrics integrates with other coordinators (#7400)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-01 17:35:00 +08:00
godchen 08a31010e9
Change log (#7366)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-08-31 12:07:58 +08:00
sunby 8f660ae4e6
Add log print in proxy (#7369)
issue: #7316
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-08-31 11:17:59 +08:00
dragondriver 5b354313df
Add unittest for timestamp allocator (#7367)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-08-31 10:33:58 +08:00
dragondriver 84bddd0a03
Add unittest cases for proxy (#7364)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-08-31 10:25:59 +08:00
zhenshan.cao cc99bae250
Add unittest for proxy (#7342)
Fix unittest data race

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-08-28 10:21:57 +08:00
sunby 920b09cf7d
Print insert log once receive a request (#7318)
issue: #7316
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-08-27 10:08:47 +08:00
Xiangyu Wang c62f23e201
[skip ci]Remove neza2017 from reviewers (#7324)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-08-27 00:27:36 +08:00
groot 8701c477e2
Add delete api into proto (#7304)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-08-26 12:15:52 +08:00
Cai Yudong 0ab70271a6
correct empty search result handle (#7244)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-08-24 11:13:52 +08:00
Cai Yudong 8405d90f5e
proxy add illegal check for search result (#7227)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-08-23 17:03:51 +08:00
groot 1c6f5104f7
Improper error returned by calc_distance (#7175)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-08-20 16:19:42 +08:00
dragondriver e45cb6c644
Expose system topology information by proxy (#7137)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-08-18 10:12:10 +08:00
yukun 671b2737d2
Remove RetrieveRequest and RetrieveTask (#6848)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-08-16 17:06:10 +08:00
Cai Yudong e771bda92f
optimize retrieve output vector code structure (#7102)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-08-14 11:18:10 +08:00
Xiangyu Wang 5e78fd6a97
[skip ci]Update approvers (#7063)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-08-12 19:36:09 +08:00
groot bdb8396e74
Fix CalcDistance wrong result when fetting vectors from collection (#6976)
* Fix CalcDistance wrong result when fetting vectors from collection

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* Fix CalcDistance wrong result when fetting vectors from collection

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* preset capacity

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* typo

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* error check

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* code lint

Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-08-10 11:59:28 +08:00
xige-16 87c5a49d9a
Refactor showCollection/showPartition to get load state in memory (#6935)
* refactor showCollection/showPartition to get load state in memory

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* update proto

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* update proto

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* update milvus.proto

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* add show result log to debug

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix wrong err message

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* update pymilvus-orm version

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix repeated load error

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* update proto

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix status nil error

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-08-02 22:39:25 +08:00
Cai Yudong fe50f97726
Use id to tell search result validation in proxy reduce stage (#6905)
* use id to tell search result validation

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* enable test_search_binary_hamming_flat_index

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* code optimize

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* fix merge retrieve result issue

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-08-02 10:25:49 +08:00
cai.zhang d51fec6678
Enhance log when create index failed (#6871)
* Enhance log when create index failed

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* Fix bug for repeatedly drop index

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>
2021-07-29 14:47:22 +08:00
zhenshan.cao 8a1a841011
FixBug: Incorrect handling of time synchronization (#6814)
* FixBug: proxy send wrong sync timetick and DataCoord did not filter channel

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-07-27 14:34:48 +08:00
dragondriver 3cc8ee298e
Filter NaN when reducing search results (#6806)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-07-27 10:19:21 +08:00
xaxys e43b43e7d8
Refactor `RangeExpr` & `CompareExpr` (#6786)
* Changed `RangeExpr` proto to `UnaryRangeExpr` & `BinaryRangeExpr`
Several unit test unpassed.

Signed-off-by: xaxys <tpnnghd@163.com>

* Fix bugs to pass unit test. Fix format.

Signed-off-by: xaxys <tpnnghd@163.com>

* Remove debug information.

Signed-off-by: xaxys <tpnnghd@163.com>

* Fix format.
Remove debug information.
Unify variable name.
Add error information.
Remove `CompareExpr` test in `test_c_api.cpp`.

Signed-off-by: xaxys <tpnnghd@163.com>

* Fix code format.

Signed-off-by: xaxys <tpnnghd@163.com>

* Update `Plan.cpp`.

Signed-off-by: xaxys <tpnnghd@163.com>
2021-07-25 10:23:19 +08:00
zhenshan.cao 2962d31a5f
Fixbug: segment allocate but return value incorrect (#6788)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-07-24 20:49:20 +08:00
dragondriver cf8e9d52b1
Reduce the log of proxy (#6766)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-07-23 20:33:34 +08:00
dragondriver 67c1fdd2c0
Show/Describe collections/partitions with created timestamp (#6700)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-07-21 18:00:14 +08:00
Cai Yudong cbb4052fdb
Support search and query output fields using wildcard (#6671)
* update wildcard polocy for search and query

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* mark xfail cases

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* mark xfail cases

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* optimize debug log

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* fix static-check

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-07-21 14:52:12 +08:00
dragondriver 26f890b5f5
Remove too frequent timetick log (#6682)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-07-21 11:26:11 +08:00
congqixia 9b1708f6e5
Fix proxy crashes when retrieve task is called (#6656)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-07-20 22:33:09 +08:00
dragondriver 0e2329c7ad
Refactor snapshot of timestamp statistics (#6600)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-07-17 16:31:29 +08:00
dragondriver 2d9361e0ba
Fix bug: remove duplicated primary field id when retrieve entities (#6577)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-07-17 10:53:30 +08:00
Cai Yudong a992dcf6a8
Support query return vector output field (#6570)
* improve code readibility

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* add offset in RetrieveResults

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* add VectorFieldInfo into Segment struct

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* add new interface for query vector

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* update load vector field logic

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* update load vector field logic

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* fill in field name in query result

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* add FieldId into FieldData

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* add fillVectorOutputFieldsIfNeeded

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* update data_codec_test.go

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* add DeserializeFieldData

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* realize query return vector output field

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* fix static-check

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* disable query vector case

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-07-16 17:19:55 +08:00
紫晴 4c7b57ffc5
Upload codecov report in GitHub Actions (#6565)
* Upload codecov report in GitHub Actions

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
2021-07-16 14:52:21 +08:00
dragondriver 84b9791221
Fix snapshot of timestmap statistics (#6543)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-07-15 17:47:55 +08:00
dragondriver 5016e509be
Support wildcard match on search/query output fields (#6510)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-07-14 18:51:54 +08:00
Cai Yudong 1c29b42434
change output_fields to out_fields_id for RetrieveRequest (#6506)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-07-14 13:11:54 +08:00
dragondriver d896e3119e
Fix 6419, check if num_rows is greater than zero in proxy (#6439)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-07-13 16:33:55 +08:00
xaxys e5f8a77a2d
Extend grammar of boolean expression (#6460)
* Extend grammar of boolean expression

Signed-off-by: xaxys <tpnnghd@163.com>
2021-07-13 14:37:03 +08:00
dragondriver bd317a5461
Check if field data is empty (#6404)
* Check if field data is empty

Signed-off-by: dragondriver <jiquan.long@zilliz.com>

* FixBug: fast fail when output_fields contain fields that are not in schema

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>

Co-authored-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-07-11 19:39:52 +08:00
neza2017 8b89744c6b
search with exp (#6409)
* process float vector and binary vector field
on the search result

Signed-off-by: yefu.chen <yefu.chen@zilliz.com>

* add more debug info on etcd

Signed-off-by: yefu.chen <yefu.chen@zilliz.com>

* add debug info when grpc failed

Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2021-07-10 10:21:52 +08:00
groot 19fc42c9eb
calc_distance typo (#6380)
* calc_distance typo

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* calc_distance typo

Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-07-09 14:53:52 +08:00
zhenshan.cao b53699b846
Fixbug: distinguish the name of the subscription based on ProxyID (#6333)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-07-08 19:52:39 +08:00
yukun 33162ca40f
Fix query error message (#6344)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-07-08 15:05:52 +08:00
dragondriver 166548447b
Fix 6249, use more clear error message (#6316)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-07-06 14:40:04 +08:00
groot a364d7303b
Implement calculate vectors distance in server (#6219)
* calc distance stage 3

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* calc distance stage 5

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* calc distance stage 6

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* code style

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* typo

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* typo

Signed-off-by: yhmo <yihua.mo@zilliz.com>

* typo

Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-07-01 18:56:17 +08:00
zhenshan.cao ff4c6c7ff4
Fix travel timestamp and guarantee timestamp (#6234)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-06-30 21:02:13 +08:00
yukun 95aa3c85b6
Add index_name check for drop_index (#6217)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-30 17:56:12 +08:00
yukun b87baa108a
Add topks in searchResult (#6168)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-28 15:28:11 +08:00
yukun 7df4bf8d93
Change strange expression err hint (#6128)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-28 15:18:12 +08:00
dragondriver d3c503f3aa
Calculate the real topk in proxy (#6132)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-06-28 14:30:14 +08:00
yukun ae66446f16
Fix issue-5992 (#6158)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-28 12:16:13 +08:00
yukun effcbc7cb3
Fix issue-6143 (#6145)
* Fix issue-6143

Signed-off-by: kun yu <kun.yu@zilliz.com>

* Return error when output_fields contains vector field

Signed-off-by: kun yu <kun.yu@zilliz.com>

* Fix when output_fields contain primarykey

Signed-off-by: kun yu <kun.yu@zilliz.com>

* Add primarykey

Signed-off-by: kun yu <kun.yu@zilliz.com>
2021-06-28 10:12:13 +08:00
xige-16 ca4cba152c
return loaded collection when ShowCollectionsType_InMemory (#6149)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-06-27 12:10:08 +08:00
zhenshan.cao 42be531f9c
Add InsertCnt (#6131)
* Add InsertCnt

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>

* Enhance log

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-06-26 14:02:12 +08:00
yukun 39614aa8eb
Add rocksmq_path in config and paramtable (#6099)
* Add rocksmq_path in config and paramtable

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Add rocksdbPath in NewRmsFactory

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Change rdb default path to /vat/lib/milvus/rdb_data

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-25 19:44:11 +08:00
yukun eb818d05ab
Remove vector fields from output fields (#6112)
* Remove vector fields from output fields

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Add empty_collection error_code

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-25 16:52:11 +08:00
yukun 9b549e0fa4
Add primaryKey to output fields (#6094)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-24 21:08:14 +08:00
yukun 0f409da136
Fix standalone seek hang after restart (#6073)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-24 16:44:07 +08:00
yukun b72e4c6372
Merge search_collection and retrieve_colletion into query_collection (#6037)
* Merge search_collection and retrieve_colletion into query_collection

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Fix static-check

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-23 20:26:10 +08:00
bigsheeper 0f89f40488
Use virtual channel in search result and retrieve result (#6030)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-06-23 18:00:37 +08:00
sunby 46f86a0354
Return sealed segments when calling flush (#6011)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-06-23 16:56:11 +08:00
Cai Yudong a09a3a1905
rename service to coord (#6020)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-23 16:14:08 +08:00
dragondriver a493151f70
Fix #5951 (#6010)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-06-23 12:06:10 +08:00
godchen 99be4c09a5
change retry (#5996)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-06-23 09:24:10 +08:00
Cai Yudong 7dbf33b788
Update component names in config files (#5989)
* rename master/indexService in .yaml

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename proxyNode to proxy in config files

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* move master.yaml to root_coord.yaml, move proxy_node.yaml to proxy.yaml

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* move proto/query_service.proto to proto/query_coord.proto

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* move proxy_node_manager.go to proxy_manager.go

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* add query_coord.pb.go

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* update ci

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-22 19:08:03 +08:00
yukun 792dba4ae3
Fix id field insert failed when auto_id is true (#5984)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-22 18:46:04 +08:00
FluorineDog b51893d3f1
Enrich retrieve task error message (#5975)
Signed-off-by: fluorinedog <fluorinedog@gmail.com>
2021-06-22 18:42:03 +08:00
zhenshan.cao 0f05622c09
Modify error msg when index is not created (#5978)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-06-22 18:04:07 +08:00
congqixia 7a2546c24a
Fix proxy panic if quit before init (#5981)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-06-22 17:40:07 +08:00
xige-16 2af1c27811
Rename queryservice to querycoordinator (#5931)
* Rename queryservice to querycoordinator

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix param table

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* code format

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix unittest

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* service to coordinator

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* code format

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* set querycoord in ci

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-06-22 16:44:09 +08:00
Cai Yudong d5f4ee6f44
Rename proto master/index_service/proxy_service (#5973)
* rename proto proxy_service to proxy

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename proto index_service to index_coord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename proto master to root_coord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-22 16:14:09 +08:00
dragondriver fd57554d32
Add index params check in proxy (#5958)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-06-22 15:28:04 +08:00
Cai Yudong 2926a78968
Rename proxynode to proxy (#5961)
* rename package name from proxynode to proxy

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* move distributed/proxynode to distributed/proxy

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* move internal/proxynode to internal/proxy

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename proxynode to proxy

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-22 14:40:07 +08:00
quicksilver 7fe061b846 Raneme init_devcontainer.sh to devcontainer.sh
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-01-15 14:38:36 +08:00
neza2017 56ab2bda2d Update proto:add partition id
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-15 11:53:22 +08:00
zhenshan.cao 63b21321d6 Refactor indexservice and update doc
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-01-15 13:50:27 +08:00
cai.zhang 3d885742ee Reopen ruleguard and format code
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-01-13 13:36:27 +08:00
bigsheeper 2d2af1505a Improve mutex usage in query node
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-01-12 18:03:24 +08:00
GuoRentong f3d2afa4f4 Update doc:detailed interface definition
Signed-off-by: GuoRentong <rentong.guo@zilliz.com>
2021-01-11 18:35:54 +08:00
quicksilver a6690dbc99 Fix syntax error: Bad fd number
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-01-11 15:25:19 +08:00
yukun 18cfd31d40 Fix Load and Remove with prefix
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-01-11 15:17:06 +08:00
bigsheeper 4fad3b189c Fix search without insertion, improve nil hits behavior (#622)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-01-09 17:58:18 +08:00
zhenshan.cao 02df310fa5 Fix data race
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-01-09 12:30:22 +08:00
xige-16 f4566731fc Fix search error in regression test
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-01-09 09:47:22 +08:00
sunby 5dfe9448ae Modify test_index
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-01-08 16:00:16 +08:00
GuoRentong 82ad488555 Update doc: rocksmq
Signed-off-by: GuoRentong <rentong.guo@zilliz.com>
2021-01-08 18:37:24 +08:00
dragondriver 018466a256 Avoid crash when index parameters are invalid
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-01-08 17:45:57 +08:00
XuanYang-cn 65089ea362 Fix flush sync test bug and remove unecessary lock in meta_table
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-01-08 17:20:59 +08:00
GuoRentong c4599e26de Update doc: node api
Signed-off-by: GuoRentong <rentong.guo@zilliz.com>
2021-01-08 16:59:19 +08:00
bigsheeper e13822043d Fix search test when partition not exists, add binary vector search validation
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-01-08 16:41:27 +08:00
godchen fa73f17f94 Add opentracing doc
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-01-08 15:32:38 +08:00
quicksilver f6d4214bbe Optimize the workflow for cache go mod
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-01-08 15:00:58 +08:00
sunby 3b68bf22f3 Add pre-checks in create index task
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-01-08 11:06:56 +08:00
dragondriver ced56c84f8 Add support to build binary vector index
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-01-07 14:56:17 +08:00
godchen 8f1f118b26 Add query opentracing
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-01-07 14:24:35 +08:00
bigsheeper a1e2ff3c26 Add gcNode to write node
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-01-06 16:44:12 +08:00
neza2017 4015d7245d Merge operation
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-06 14:45:50 +08:00
zhenshan.cao b06e01f523 Initmate querynode collection manager
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-01-06 11:31:36 +08:00
godchen 1c87faf8b3 Add insert request opentracing
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-01-06 11:17:35 +08:00
quicksilver b1b8747477 Add logic of incremental check for go code
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2020-12-29 17:19:44 +08:00
dragondriver 243346247b Add unittest case which used in regression to index builder
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2020-12-29 16:31:03 +08:00
bigsheeper 1e3b7cd55e Fix binary vector metric type validation
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-12-29 16:14:52 +08:00
GuoRentong e8ec0424d8 Update doc: service api
Signed-off-by: GuoRentong <rentong.guo@zilliz.com>
2020-12-27 09:05:24 +08:00
XuanYang-cn e316533a3a Add Flush Sync service
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2020-12-26 16:28:55 +08:00
bigsheeper 5acc9681d6 Fix search error about metric type
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-12-26 15:29:48 +08:00
cai.zhang 2031c54746 Add unittest about index in proxy
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-12-26 11:51:07 +08:00
XuanYang-cn c0797333ce Add ddl binlog metaTable in writenode
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2020-12-24 20:55:40 +08:00
neza2017 4dbf4ade41 Add test for master
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2020-12-24 16:19:42 +08:00
zhenshan.cao a0244b7683 Add segment expire logic for proxy
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-12-24 16:53:31 +08:00
cai.zhang a8b78f11c3 Update proto about index
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-12-23 19:06:11 +08:00
sunby 0b9cffaf87 Remove index_name in IndexRequest and remove indexType in FieldIndexMeta
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2020-12-23 11:34:35 +08:00
cai.zhang 05918f55d2 Impl CreateIndex interface for proxy server
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-12-22 15:39:10 +08:00
cai.zhang b582cf7b8e Add the interface of index in proto
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-12-21 19:28:54 +08:00
bigsheeper 762b1e1f1f Add ddService, fieldID, requestID and refactor params table, fix nil hits search result bug
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-12-10 16:31:09 +08:00
XuanYang-cn 32977e270c Add impl cgo of parquet
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2020-12-08 14:41:04 +08:00
zhenshan.cao 65ce1f97e7 Fix bug: pulsar dirty msg
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-12-07 19:41:39 +08:00
zhenshan.cao 7bbbc14637 Fix bug: address already used
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-12-07 15:22:20 +08:00
xige-16 37d7526d31 Fix search test failure
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2020-12-07 14:37:42 +08:00
neza2017 aeca8f85a5 Run cwrapper unittest in ci
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2020-12-05 17:39:58 +08:00
cai.zhang 806a97505c Add query node for CI progress
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-12-05 16:12:45 +08:00
neza2017 70710dee47 Add parquet payload
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2020-12-05 16:11:03 +08:00
FluorineDog 6412ebc0d4 Add support of metric type in schema, enable binary vector, fix segfault
Signed-off-by: FluorineDog <guilin.gou@zilliz.com>
2020-12-05 06:46:01 +08:00
cai.zhang 18a9ffb617 Increase timeout for golangci-lint
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-12-04 17:57:24 +08:00
zhenshan.cao 0b6fe0a8cf Refactor paramtable
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-12-04 14:18:17 +08:00
godchen 7ab5b5d80d Add MinIO kv implements
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2020-12-03 19:00:11 +08:00
neza2017 cec903da19 Add parquet payload
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2020-12-02 18:31:56 +08:00
quicksilver 0530fdf62f Open regression test
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2020-12-03 14:05:52 +08:00
zhenshan.cao 569057251c Add support of custom ID
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-12-02 16:12:21 +08:00
zhenshan.cao 23aebe7e2a Fix proxy unittest
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-12-01 19:53:53 +08:00
neza2017 17cc7bc337 Use MetaRootPath instead
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2020-12-01 17:03:39 +08:00
dragondriver 84b15c1f5c Fix the bug of meta cache in Proxy
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2020-12-01 16:41:25 +08:00
cai.zhang c1fbc4f8fa Open the tests for insert
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-12-01 15:18:57 +08:00
FluorineDog 6b74d82259 Support some validation for dsl parser
Signed-off-by: FluorineDog <guilin.gou@zilliz.com>
2020-12-01 02:16:53 +08:00
zhenshan.cao fda8d62b38 Fix make error
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-11-30 22:14:19 +08:00
neza2017 d3858500c6 Add static check
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2020-11-30 19:38:23 +08:00
dragondriver 2358fae703 Check the status of search results before reduce in Proxy
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2020-11-30 19:08:32 +08:00
bigsheeper 0cd3e8d86c Use exception instead of runtime error
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-30 17:58:23 +08:00
dragondriver 51a9f49d35 Fix the topk check when deal with the search result in Proxy
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2020-11-30 17:46:00 +08:00
zhenshan.cao 24942c3d6d Fix insert failed to return correct id range
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-11-30 12:08:47 +08:00
bigsheeper d88a654db8 Fix search result
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-30 11:22:59 +08:00
quicksilver 86573d0053 Create Jenkins pipeline
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2020-11-30 10:07:04 +08:00