Commit Graph

1098 Commits (a577cac46b86e338382ac7191188342ea6db7440)

Author SHA1 Message Date
zhenshan.cao 0a953948af
Simplify monitoring metrics (#16687)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2022-04-27 23:03:47 +08:00
XuanYang-cn 35b7267edb
Add ut for task_policies (#16663)
See also: #16652

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2022-04-27 16:55:46 +08:00
congqixia 0bf176a7e1
Add SyncReplicaSegments interface for QueryNode (#16672)
Add SyncReplicaSegments for LoadCollection/LoadPartition child task
This API notifies related ShardCluster to record segment Loaded
Preventing the Etcd events is delayed, which will cause some segment not search

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-04-27 10:41:46 +08:00
zhenshan.cao a3f7bb5f2d
Remove the collectionID label from metrics (#16571)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2022-04-26 17:29:45 +08:00
XuanYang-cn fbc7fe1cdc
Fix proxy unable to update cache (#16646)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2022-04-26 11:27:53 +08:00
groot bc5e9ec929
Add list import tasks api (#16605)
Signed-off-by: groot <yihua.mo@zilliz.com>
2022-04-25 17:37:46 +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
Aivin V. Solatorio 04fffb08ef
Support arithmetic operations on numerical fields for scalar filtering (#16520)
Signed-off-by: Aivin V. Solatorio <avsolatorio@gmail.com>
2022-04-24 16:43:45 +08:00
yah01 804fbb6e27
Fix panic: Set Base of GetReplicas request (#16578)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2022-04-22 14:47:42 +08:00
Ten Thousand Leaves 6f75d02c65
Disable knowhere logging for embedded Milvus and some other tweaks (#16496)
/kind enhancement

issue: #15711
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-04-20 17:23:46 +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
Ten Thousand Leaves 289e468a7a
Make bulk load fully work (#16512)
issue: #15604

/kind enhancement

Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-04-20 14:03:40 +08:00
codeman 3a1b2cedd2
create default root user for authentication (#16545) (#16549)
Signed-off-by: kejiang <ke.jiang@zilliz.com>

Co-authored-by: kejiang <ke.jiang@zilliz.com>
2022-04-20 13:03:40 +08:00
codeman f5e1ded854
fix #16504 (#16523)
Signed-off-by: kejiang <ke.jiang@zilliz.com>

Co-authored-by: kejiang <ke.jiang@zilliz.com>
2022-04-19 16:35:39 +08:00
Ten Thousand Leaves cf9b9aba79
Fix a bug where RPC calls before proxy finishes initialization crashes Milvus (#16474)
/kind bug

issue: #16473
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-04-14 20:01:34 +08:00
Ten Thousand Leaves 442c73a544
Support passing channel names to DataNode (#16424)
/kind feature

issue: #15604
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-04-12 13:25:34 +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
godchen bb7a0766fe
Add dependency factory (#16204)
Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
2022-04-07 22:05:32 +08:00
Ten Thousand Leaves 1e6f6bd072
Implement set segment state call from RootCoord to DataCoord. (#16374)
/kind feature

issue: #15604
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-04-06 15:33:32 +08:00
XuanYang-cn 78200009a3
Impl GetReplicas in Proxy (#16390)
See also: #16298

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2022-04-06 14:57:31 +08:00
bigsheeper 7161a7760c
Fix segIDAssigner spelling mistake (#16370)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2022-04-06 14:11:31 +08:00
xige-16 99984b88e1
Support delete varChar value (#16229)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2022-04-02 17:43:29 +08:00
XuanYang-cn e9090a62ab
Rearrange search/queryTask for readability (#16325)
`searchTask` has 683 lines of code, `queryTask` has 485 lines of code.
`task.go` contains 4k+ codes including `searchTask` and `queryTask`.

It was so much pain navigating codes of searchTask and queryTask though task.go,
task.go and task_test.go are literaly unreadable.

This PR moves
1. 650+ lines of code of `searchTask` from `task.go` to `task_search.go`.
2. 1.4k+ lines of test code of `searchTask` from `task_test.go` to
   `task_search_test.go`.
3. 450+ lines of code of `queryTask` from `task.go` to `task_query.go`.
4. 200+ lines of test code of `queryTask from `task_test.go to
   `task_query_test.go`.

This PR also rearrange methods positions of `searchTask` and
`queryTask`:
-  Putting the most important methods `PreExecute`, `Execute`, and
   `PosExecute` at the beginning of the file.
-  Moves interface methods `ID`, `SetID`, `Type`, `BeginTs`, etc.
   that nobody cares about to the bottom of the file.

See also: #16298

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2022-04-01 18:59:29 +08:00
yah01 c005f07ccc
Modify proto to add GetReplicas() interface (#16328)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2022-04-01 16:15:29 +08:00
Ten Thousand Leaves 45be3deb3f
Implement RC, DC, DN calling path for import. (#16321)
/kind feature

issue: #15604
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-04-01 11:33:28 +08:00
XuanYang-cn 58addbf9f4
Add GetShardLeaders rpc in querycoord proto (#16299)
See also: #16298

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2022-03-31 16:39:29 +08:00
XuanYang-cn a0bb758be5
Refine log in proxy searchTask (#16263)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2022-03-30 22:09:28 +08:00
Jiquan Long ba37531456
Add support for loading multiple indexes (#16138)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-03-30 21:11:28 +08:00
Jiquan Long cd0f3cbcd3
Refine log (#16269)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-03-29 22:43:28 +08:00
zhenshan.cao 11cea5aad0
Refine proxy log (#16246)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2022-03-29 02:29:27 +08:00
congqixia 2c03287e79
Improve log level in proxy QueryTask (#16234)
Use warn instead of debug in error case

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-03-28 23:11:26 +08:00
Jiquan Long 973ea406ca
Improve log of show collections (#16233)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-03-28 21:47:27 +08:00
Ten Thousand Leaves 40c703dacd
Support check index state in root coord, for bulk load feature. (#16198)
issue: #15604

/kind feature

Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-03-28 16:41:28 +08:00
xige-16 205c92e54b
Support insert string data (#15993)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2022-03-25 14:27:25 +08:00
xiyichan ca129d4308
Support configurable msgstream (#16131)
Signed-off-by: xiyichan <2863768433@qq.com>
2022-03-24 10:15:25 +08:00
groot 1c4b949a1d
modify import rpc interface (#16129)
Signed-off-by: groot <yihua.mo@zilliz.com>
2022-03-22 15:11:24 +08:00
groot 2078b24dca
Prepare for import (#16083)
Signed-off-by: groot <yihua.mo@zilliz.com>
2022-03-21 15:47:23 +08:00
Jiquan Long f8d9bc919d
Unify interface of vector index & scalar index. (#15959)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-03-21 14:23:24 +08:00
Xiaofan 787d4f8bfd
Refine prometheus metrics and etcd log (#16084)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-03-18 15:51:22 +08:00
Ji Bin 3cd28420f1
Support compile under windows (#15786)
This patch makes compile milvus under windows(MSYS), including:
- some cpp adaptation for compile under msys/gcc-10.3
- install toolchain scripts for setup from MinGW/MSYS `scripts/install_deps_msys.sh`
- adaptation for POSIX API use in golang
  * using gofrs/flock instead of syscall.Flock
  * using x/exp/mmap instead of syscall.Mmap
- introducing github actions for build milvus.exe under windows/MSYS
- rocksdb's patch for MSYS
- adaptation for compile knowhere under windows
- a windows package script for pack zip file, `scripts/package_windows.sh`

issue #7706

Signed-off-by: Ji Bin <matrixji@live.com>
2022-03-17 17:17:22 +08:00
jaime cf4c014b2e
Remove collect query result by mq (#15988)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
2022-03-16 10:19:21 +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
jaime 97b1ed7bca
Remove reader API from Mqstream and replace it with consumer API (#15971)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
2022-03-15 14:45:22 +08:00
xige-16 09b2c46b61
Support create collection with VarChar field (#15904)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2022-03-14 23:20:02 +08:00
jaime 29975a7a26
Remove Consume() API from mqstream interface (#15886)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
2022-03-11 20:09:59 +08:00
groot 89356ebcb9
Modify import rpc interfaces (#16006)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2022-03-11 17:13:59 +08:00
groot 5fdef607d5
Add rpc interfaces for import (#15930)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2022-03-09 18:33:59 +08:00
cai.zhang 2512dff261
Fix misuse of timerecord (#15868)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-03-04 15:45:56 +08:00
Jiquan Long f71651e294
Support column-based insert data in message stream (#15802)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-03-04 15:09:56 +08:00
Cai Yudong 3e862ecdfb
Merge msgChannelConfig and knowhereConfig into commonConfig (#15843)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-03-04 11:17:56 +08:00
Cai Yudong 57b97ccb9c
Let search fail as if one query_node return error result (#15855)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-03-04 10:43:56 +08:00
jaime 7a3a721380
Reconstruct mqstream module (#15784)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>
2022-03-03 21:57:56 +08:00
congqixia 3f34bc1ab7
Ban DataType_String in CreateCollection (#15838)
Fix #15836
/kind enhancement

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-03-03 16:57:56 +08:00
朱亚光 27a7875a15
add array hashKeys empty check (#15796)
fix #15791 https://github.com/milvus-io/milvus/issues/15791
Signed-off-by: zhuyaguang <zhuyaguang1368@163.com>
2022-03-03 00:33:56 +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
Nemo 3eb074a9b0
Update some comments for data coord with some minor code refactoring. (#15686)
Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2022-02-22 13:15:51 +08:00
xige-16 782f350da5
Modify parameter spelling of task queue (#15581)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2022-02-22 10:25:51 +08:00
Xiaofan be42627ab2
Move Logutil to Util dir (#15447)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-02-09 18:55:46 +08:00
Cai Yudong 8255b713ac
Move ProxySubName/QueryNodeSubName/DataNodeSubName to msgChannelConfig (#15501)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-02-09 14:41:45 +08:00
guoxiangzhou a157487f8c
[skip e2e] Modify code comments according to the naming conventions (#15172)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2022-02-09 10:18:02 +08:00
guoxiangzhou c7e93f95aa
[skip e2e] Modify code comments according to the naming conventions (#15171)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2022-02-09 10:14:05 +08:00
Cai Yudong 1f337891e1
Rename base_param to service_param, rename global_param to component_param (#15463)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-02-08 20:57:47 +08:00
Cai Yudong f1ea9613ae
Add EtcdConfig and move PulsarConfig/RocksdbConfig/MinioConfig into BaseParamTable (#15434)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-02-07 10:09:45 +08:00
Filipe Caixeta dee1961b4d
Make SearchResults and QueryResults return collectionID (#15377)
* Make SearchResults and QueryResults return collectionID

Signed-off-by: Filipe Caixeta <filipecaixeta@gmail.com>

* add return collection name from QueryRequest and SearchRequest

Signed-off-by: Filipe Caixeta <filipecaixeta@gmail.com>

* remove comment

Signed-off-by: Filipe Caixeta <filipecaixeta@gmail.com>
2022-01-27 22:55:41 +08:00
xige-16 408a6e9e58
Fix collectResultLoop hang after search timeout (#15250)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2022-01-17 18:11:36 +08:00
Jiquan Long 675e6d352b
QueryNodes send search/query results by rpc (#15223)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-17 14:41:35 +08:00
Jiquan Long 3bf34f6326
[skip e2e] Add comment for baseTaskQueue (#15170)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-12 10:59:37 +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 7e74db0d65
[skip e2e] Add comment for insertRepackFunc (#15115)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-10 22:41:46 +08:00
Jiquan Long 5ab8d99ee9
[skip e2e] Add comment for lastTick (#15114)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-10 22:39:54 +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
Cai Yudong 6323907566
Use CommonConfig in GlobalParams for all components (#15106)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-01-10 19:03:35 +08:00
shaoyue 2e8dd74c7e
[skip e2e] Add comment for proxy task (#15089)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2022-01-10 18:33:46 +08:00
Cai Yudong 7efb02a4c5
Use PulsarConfig in GlobalParams for all components (#15046)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-01-09 23:45:33 +08:00
guoxiangzhou 1807ba534d
[skip e2e] Modify log text according to the naming conventions (#14969)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2022-01-07 18:41:23 +08:00
guoxiangzhou 8ec3c69447
[skip e2e] Modify log text according to the naming conventions (#14970)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2022-01-07 18:39:22 +08:00
Jiquan Long 92b466800f
[skip e2e] Add implementation assertion for taskQueue (#15023)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-07 17:53:28 +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
Cai Yudong f8f61fb116
Use BaseParams etcd configuration for all components (#15012)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-01-07 16:15:26 +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 5eb346fd9e
[skip e2e] Add license for id_cache (#14953)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-06 23:30:10 +08:00
Jiquan Long 691e4d954d
[skip e2e] Add implementation assertion for channelsTimeTicker (#14952)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-06 23:24:16 +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
Jiquan Long 95fd0d1bf4
[skip e2e] Add comment for newChannelsTimeTicker (#14871)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-05 21:01:30 +08:00
Jiquan Long 3e9340e3f6
[skip e2e] Add comment for channelsTimeTicker (#14870)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-05 19:07:20 +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 6400263f3c
[skip e2e] Improve SearchTask log format (#14753)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-01-04 14:15:39 +08:00
Jiquan Long 77ef791b6e
[skip e2e] Add comment for minFloat32 (#14752)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-04 14:13:44 +08:00
Jiquan Long b2fbf66f2f
[skip e2e] Add comment for getMinTick (#14751)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-04 14:11:51 +08:00
Jiquan Long deff7de3ac
[skip e2e] Add comment for newChannelsMgrImpl (#14750)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-01-04 14:09:52 +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
guoxiangzhou 5fccbe9764
[skip e2e] Modify log text according to the naming conventions (#14289)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-31 11:39:31 +08:00
guoxiangzhou a87a79a65a
[skip e2e] Modify log text according to the naming conventions (#14287)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-31 11:37:35 +08:00
guoxiangzhou 451178203e
[skip e2e] Modify log text according to the naming conventions (#14283)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-31 11:33:41 +08:00
guoxiangzhou 4f1ee13795
[skip e2e] Modify log text according to the naming conventions (#14280)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-31 11:31:22 +08:00
Jiquan Long 4fe0e5e457
[skip e2e] Add comment for definitionLoop (#14637)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-30 20:45:21 +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
Jiquan Long 2cf0a551b4
[skip e2e] Add comment for getMinTsStatistics (#14635)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-30 20:41:33 +08:00
Xiaofan 98e4ff33a8
Fix RocksDB Slow (#14614) 2021-12-30 20:08:15 +08:00
congqixia b4d995ceb3
[skip e2e] Add comment for proxy ManualCompaction (#14619)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-30 19:15:22 +08:00
guoxiangzhou 62f002f9df
[skip e2e] Modify log text according to the naming conventions (#14278)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-30 16:47:01 +08:00
guoxiangzhou 437b4c0f29
[skip e2e] Modify log text according to the naming conventions (#14277)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-30 16:44:09 +08:00
guoxiangzhou 0769c1f757
[skip e2e] Modify log text according to the naming conventions (#14275)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-30 16:41:22 +08:00
Jiquan Long c0b7f52036
Make timeTickInterval of Proxy configurable (#14515)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-30 10:29:47 +08:00
congqixia 7bb1d6267d
[skip e2e] Add comment for CreateAliasTask methods (#14539)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-29 22:40:27 +08:00
zhenshan.cao 32a5126705
Add the limitation of the traceable interval to timeTravel (#14498)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-12-29 21:29:45 +08:00
Jiquan Long 028fcdc35a
[skip e2e] Add comment for channelsMgrImpl (#14530)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-29 17:44:34 +08:00
Jiquan Long b358e9c88d
[skip e2e] Add comment for taskScheduler (#14528)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-29 17:42:45 +08:00
Jiquan Long 3baa698e9f
[skip e2e] Add comment for getLastTick (#14529)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-29 17:25:37 +08:00
Xiaofan 69087ff8dd
Support embedded etcd (#14333)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-12-29 14:35:21 +08:00
Jiquan Long 673806b1c1
[skip e2e] Add comment for baseTaskQueue (#14460)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-29 14:31:21 +08:00
Jiquan Long 9ca90841a7
[skip e2e] Add comment for initSession (#14459)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-29 14:29:37 +08:00
guoxiangzhou 4abc4c7e1a
[skip e2e] Modify log text according to the naming conventions (#14274)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-29 14:09:21 +08:00
guoxiangzhou 3705ac7142
[skip e2e] Modify log text according to the naming conventions (#14292)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-29 14:07:22 +08:00
congqixia 53784b5237
[skip e2e] Add comment for NewMetaCache (#14477)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-29 11:55:02 +08:00
congqixia ffe44ae1ea
[skip e2e] Add comment for CreateAliasTask (#14463)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-28 22:22:46 +08:00
congqixia 307b07363b
[skip e2e] Add comment for IDs2Expr (#14352)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-28 09:48:15 +08:00
cxytz01 7a009ee182
[skip e2e] Grammar correction (#14344)
Signed-off-by: cxytz01 <xueyou.chen@zilliz.com>
2021-12-27 19:00:08 +08:00
cxytz01 4c95803148
[skip e2e] Grammar correction (#14343)
Signed-off-by: cxytz01 <xueyou.chen@zilliz.com>
2021-12-27 18:58:20 +08:00
cxytz01 bc05f3e8b0
[skip e2e] Grammar correction (#14342)
Signed-off-by: cxytz01 <xueyou.chen@zilliz.com>
2021-12-27 18:56:32 +08:00
guoxiangzhou 4671a88fbb
[skip e2e] Modify log text according to the naming conventions (#14291)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-27 15:21:13 +08:00
guoxiangzhou 049894fc14
[skip e2e] Modify log text according to the naming conventions (#14288)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-27 15:19:27 +08:00
guoxiangzhou 703eabc2bf
[skip e2e] Modify log text according to the naming conventions (#14282)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-27 15:10:49 +08:00
guoxiangzhou a578382d49
[skip e2e] Modify log text according to the naming conventions (#14279)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-27 15:06:43 +08:00
Jiquan Long 8a488f1f20
Refine startup workflow of proxy (#13459)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-25 16:10:17 +08:00
zhenshan.cao 9a2c91d326
Fix bug: refresh config after session init (#14194)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-12-24 22:22:17 +08:00
Jiquan Long dc3c72b9b6
[skip e2e] Add comment for AllocOne (#14202)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-24 19:29:33 +08:00
Jiquan Long 3e2332bb3c
[skip e2e] Add comment for isAlpha (#14201)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-24 19:27:38 +08:00
Jiquan Long fb3b419c48
[skip e2e] Add comment for enableMultipleVectorFields (#14200)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-24 19:25:20 +08:00
cxytz01 7d5ff4f771
[skip e2e] Grammar correction (#14128)
Signed-off-by: cxytz01 <xueyou.chen@zilliz.com>
2021-12-24 17:36:19 +08:00
Xiaofan 7a4de9897d
Fix Rocksmq ignored error (#14011)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-12-24 14:14:15 +08:00
shaoyue 26ed17a905
[skip e2e] Add comment for AlterAliasTask (#14140)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-24 13:33:45 +08:00
guoxiangzhou de97236410
[skip e2e] Modify code comments according to naming conventions (#14135)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-24 13:21:00 +08:00
guoxiangzhou 474b00c4d3
[skip e2e] Modify code comments according to naming conventions (#14134)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-24 13:18:00 +08:00
guoxiangzhou 5c90b7d576
[skip e2e] Modify code comments according to naming conventions (#14131)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-24 13:04:23 +08:00
cxytz01 b5fe5fc10b
[skip e2e] Grammar correction (#14129)
Signed-off-by: cxytz01 <xueyou.chen@zilliz.com>
2021-12-24 12:57:36 +08:00
Xiaofan 24e2faf110
Fix has collection err (#14089)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-12-23 21:46:10 +08:00
Jiquan Long b5f0dee1dd
[skip e2e] Add comment for pChan (#14098)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-23 21:44:12 +08:00
Jiquan Long 330c6eccb1
[skip e2e] Add comment for defaultInsertRepackFunc (#14097)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-23 21:42:22 +08:00
Cai Yudong 891c202b73
Use GlobalParamTable for all components (#13885)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-23 18:39:11 +08:00
congqixia 12bd3ade4c
[skip e2e] Add comment for proxy Cache and MetaCache struct (#14076)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-23 18:13:30 +08:00
edward.zeng 21ad57c3da
[skip e2e] Add comment to proxy meta cache (#14021)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-23 15:08:45 +08:00
Jiquan Long bca2e1604d
[skip e2e] Add comment for timestampAllocator (#14009)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-23 15:06:48 +08:00
edward.zeng 39fcbaac47
[skip e2e] Refine proxy comment (#14044)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-23 15:01:53 +08:00
shaoyue e8ebd926e0
[skip e2e] Add comment for internal/proxy/task.go (#14031)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-23 11:05:09 +08:00
Jiquan Long d6e26859a1
[skip e2e] Add comment for vChan (#14008)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-22 21:07:10 +08:00
edward.zeng 8eb4d9a2b4
[skip e2e] Add comment to proxy task (#14003)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-22 20:29:29 +08:00
Jiquan Long f6e23458aa
Refine log of ready to reduce (#13448)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-22 10:23:00 +08:00
Jiquan Long bdb001b20d
Add log of query to record time spent in mq (#13526)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-22 10:11:02 +08:00
Jiquan Long 9a7428243f
[skip e2e] Add comment for channelsTimeTickerImpl (#13897)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-21 21:01:36 +08:00
Jiquan Long 35021d6cc3
[skip e2e] Add comment for repackFuncType (#13895)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-21 20:59:11 +08:00
Jiquan Long be34b736b0
[skip e2e] Add comment for streamType (#13896)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-21 20:57:10 +08:00
Jiquan Long 8a63dba149
Add consistency level field in collection meta (#13766)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-21 19:49:02 +08:00
guoxiangzhou e46556c4e3
[skip e2e] Modify log text according to naming conventions (#13834)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-21 15:26:59 +08:00
guoxiangzhou 5e034d7879
[skip e2e] Modify log text according to naming conventions (#13833)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-21 15:15:02 +08:00
guoxiangzhou 8004292420
[skip e2e] Modify log text according to naming conventions (#13832)
Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
2021-12-21 14:40:54 +08:00
xige-16 dc7fb594af
[skip e2e]Improve log for QueryNode spell (#13809)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-20 23:10:51 +08:00
Jiquan Long 3edfafbfe0
[skip e2e] Add comment for getChannelsFuncType (#13781)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-20 17:55:16 +08:00
Jiquan Long df6333447c
[skip e2e] Add comment for getDqlChannelsFunc (#13783)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-20 17:53:17 +08:00
Jiquan Long fa37e6f954
[skip e2e] Add comment for getDmlChannelsFunc (#13782)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-20 17:52:00 +08:00
Jiquan Long d7a0857dc4
[skip e2e] Add comment for validateMultipleVectorFields (#13652)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-17 22:19:03 +08:00
Jiquan Long d5821ad18a
[skip e2e] Add comment for isVector (#13654)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-17 21:54:42 +08:00
Jiquan Long b0baff2249
[skip e2e] Add comment for isNumber (#13653)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-17 21:52:46 +08:00
Bingyi Sun 37705dfbbb
Add module name to logger in proxy (#13580)
Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
2021-12-17 19:07:39 +08:00
shaoyue 22e0fc8701
[skip e2e] Add comment for DropAliasTask (#13626)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-17 18:46:38 +08:00
zhenshan.cao bfdf6eb402
[skip e2e]Fix datarace in proxy (#13607)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-12-17 16:32:52 +08:00
Jiquan Long 00c9797d91
Add log of insert to record time spent in mq (#13527)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-16 22:27:42 +08:00
Jiquan Long cb51df5985
Add log of search to record time spent in mq (#13525)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-16 22:22:06 +08:00
Jiquan Long c26341c0cd
Refine log of CreateCollection (#13449)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-15 22:43:10 +08:00
Jiquan Long 1a0449f4f9
Refine log of ReleaseCollection (#13450)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-15 22:13:10 +08:00
xige-16 42ac5f76ed
Add constraints to the combination of load and release (#13110)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-15 22:11:09 +08:00
shaoyue 0d88568957
[skip ci] Add comment for proxy (#13463)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-15 21:11:35 +08:00
xige-16 97d5231a0a
Reorganize querycoord proto (#13181)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-15 16:53:12 +08:00
cai.zhang 9f23fc7f2a
Register the service when the component state is healthy (#13248)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-15 11:47:10 +08:00
dragondriver 22d77b6d83
Refine log of DropAlias (#13297)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-15 10:31:52 +08:00
dragondriver fafcd1e7ef
Add ut for AlterAlias with a short ctx (#13355)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-15 10:29:57 +08:00
dragondriver 543cea2c62
Add ut for AlterAlias when dd queue is full (#13354)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-15 10:28:15 +08:00
dragondriver f7ccdd2cab
Refine log of AlterAlias (#13353)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-15 10:25:33 +08:00
dragondriver ee7e400640
Refine log of Query (#13295)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-15 10:19:10 +08:00
dragondriver 276b9a6cf5
Refine log of CreateAlias (#13296)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-15 07:03:10 +08:00
Xiangyu Wang 405b3cd932
Use the same lint rules with golint in revive (#13324)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-12-14 15:31:07 +08:00
Cai Yudong b5d639a1ab
Use typeutil.ProxyRole instead of Params.RoleName in proxy (#13217)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-13 10:01:18 +08:00
jingkl 052fb7afbe
[skip ci]Add comments to impl (#13206)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>
2021-12-10 22:53:27 +08:00
dragondriver 175f3147d0
Proxy exit when disconnected to etcd (#13180)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-10 22:09:17 +08:00
jingkl 3f0970153c
[skip ci]Add notes to impl (#13205)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>
2021-12-10 22:01:17 +08:00
jingkl 602b3747ee
[skip ci]Add notes to impl (#13176)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>
2021-12-10 21:10:42 +08:00
jingkl dd0ec0a64c
[skip ci]Add comments to impl (#13170)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>
2021-12-10 21:06:40 +08:00
dragondriver 85c93b8844
Parallel when proxy get metrics from other components (#12980)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-10 17:03:58 +08:00
dragondriver 89d712ebc3
Refine log of Flush (#13165)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-10 17:01:42 +08:00
dragondriver f107f9d03e
Refine log of GetIndexState (#13164)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-10 16:59:54 +08:00
dragondriver 786444e322
Refine log of DescribeIndex (#13032)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-10 16:52:37 +08:00
dragondriver 86d69ef48c
Refine log of CreateIndex (#13031)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-10 16:48:50 +08:00
dragondriver 6571f811c8
Refine log of DropIndex (#13033)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-10 16:46:51 +08:00
dragondriver 8ad390c38a
Refine log of GetIndexBuildProgress (#13163)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-10 16:42:09 +08:00
jingkl e3f905350d
[skip ci] Add notes to impl (#13076)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>
2021-12-09 16:09:32 +08:00
jaime f479381c39
[skip ci] Add a comment for describeCollection function in meta_cache (#13018)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
2021-12-09 10:51:19 +08:00
dragondriver 59c93eb351
Refine log of GetPartitionStatistics (#12940)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-08 23:05:07 +08:00
dragondriver 19ad282810
Add ut for GetComponentStates (#12968)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-08 15:17:31 +08:00
dragondriver 8eda489c5b
Refine log of ShowPartitions (#12941)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-08 14:57:48 +08:00
dragondriver dcb6c3b2fe
Refine log of ReleasePartitions (#12939)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-08 14:55:23 +08:00
dragondriver 349e3aa8f8
Add ut for AlterAlias when proxy is unhealthy (#12911)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-08 14:53:32 +08:00
dragondriver 6bdbe23e9f
Add ut for DropAlias with a short context (#12910)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-08 14:51:18 +08:00
dragondriver e09058fe20
Add ut for DropAlias when dd queue is full (#12909)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-08 14:47:04 +08:00
dragondriver 48923398a5
Refine log of LoadPartitions (#12824)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-08 14:35:02 +08:00
dragondriver 17565db1bf
Refine log of HasPartition (#12823)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-08 14:31:05 +08:00
bigsheeper 214f40b209
Add timeout ts for search and query (#12890)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-12-08 14:15:03 +08:00
dragondriver 2b22986e53
Refine log of DropPartition (#12822)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-07 21:11:04 +08:00
dragondriver 0be72e1c1c
Refine log of GetCollectionStatistics (#12692)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-07 21:09:12 +08:00
dragondriver e8b1b56467
Refine log of DescribeCollection (#12619)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-07 21:05:15 +08:00
dragondriver a2ee829833
Refine log of ReleaseCollection (#12618)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-07 21:03:03 +08:00
dragondriver 304cb232d2
Refine log of LoadCollection (#12617)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-07 20:55:03 +08:00
edward.zeng 6320f92f9d
[skip ci] Refine proxy timestamp comment (#12813)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-06 19:41:44 +08:00
edward.zeng 22de065c9c
[skip ci] Refine proxy segment comment (#12808)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-06 19:25:52 +08:00
edward.zeng 17fa870cb4
[skip ci] Refine proxy comment (#12807)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-06 19:15:48 +08:00
dragondriver f4c7206992
Refine log of CreatePartition (#12693)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-06 15:13:35 +08:00
Xiangyu Wang 51d55dc5cc
Improve logs in proxy (#12762)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-12-06 14:19:40 +08:00
dragondriver a2a1f9d08c
Disable multiple vector fields (#12691)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-06 10:03:34 +08:00
Cai Yudong 147fc41a67
Update proxy debug log (#12591)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-02 12:41:32 +08:00
godchen 5e3e3b3b41
Remove grpc returned error (#12537)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-12-01 22:17:46 +08:00
congqixia 0e7f24491f
Fix zero length slice declaration in proxy/channels_mgr.go (#12499)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-01 16:33:31 +08:00
dragondriver 6bfb4f8196
Refine log of HasCollection (#12523)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-01 15:43:44 +08:00
dragondriver e2f9eacd5c
Add ut for DropAlias when proxy is unhealthy (#12521)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-01 15:41:51 +08:00
dragondriver 05e210e83b
Add ut for CreateAlias when dd queue is full (#12484)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-01 15:36:03 +08:00
dragondriver 1db1cf2104
Fix similarity correlation (#12511)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-01 15:26:02 +08:00
dragondriver b08e28abc1
Refine log of DropCollection (#12522)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-01 15:23:52 +08:00
dragondriver aa154e023c
Add ut for CreateAlias when ctx is short (#12485)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-01 10:13:34 +08:00
dragondriver 6d92b8499c
Revert #11901, Fix wrong jaccard distance (#12487)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-30 20:31:35 +08:00
dragondriver f86bf2c2eb
Add ut for CreateAlias when proxy is unhealthy (#12483)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-30 20:07:34 +08:00
dragondriver 4056b414f5
Refine the log of CreateCollection (#12385)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-30 20:05:40 +08:00
dragondriver 36ef91f412
Refine log of Insert (#12380)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-30 20:03:35 +08:00
congqixia 06ced4d1d1
Add DropVirtualChannel for DataCoord (#12361)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-11-29 22:35:41 +08:00
dragondriver d90aeafa79
Refine the log of CalcDistance (#12371)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-29 19:21:41 +08:00
dragondriver 6cd3427805
Refine the log of Search (#12333)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-29 18:07:42 +08:00
dragondriver 243af903c4
Refine the log of ShowCollections (#12300)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-29 14:27:24 +08:00
Cai Yudong 74a4a4e15b
Fix golint warnings for proxy (#11895)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-29 12:25:17 +08:00
Cai Yudong 33bfd96d9f
Fix golint warnings for proxy (#11894)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-29 12:23:17 +08:00
Cai Yudong e62e7bb801
Fix golint warnings for proxy (#11892)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-29 11:57:17 +08:00
godchen f31ed089b5
Add timeout for reader next (#12308)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-26 22:45:24 +08:00
dragondriver b6d0150dc5
Fix health check when disconnect to etcd (#12292)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-26 11:39:16 +08:00
godchen e3f49858c5
Add subscription prefix (#12251)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-24 17:47:15 +08:00
godchen f07ac99438
Add calc distance log (#12253)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-24 16:09:15 +08:00
godchen 927f72d588
Add delete task channel stats interface (#12250)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-24 16:01:17 +08:00
dragondriver 6c4c0ef6b5
Add more deploy metrics (#12248)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-24 15:43:15 +08:00
zhenshan.cao f95ef2260b
Add GetFlushState grpc method (#12220)
Update sdk version

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-11-23 22:57:17 +08:00
dragondriver 653369ee63
[skip ci] Refine the log of GetPersistentSegmentInfo (#12234)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-23 21:07:16 +08:00
yukun adf9530ed7
Bool expr not support numerica (#12184)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-11-23 10:57:16 +08:00
Bingyi Sun 01be91116e
Add GetFlushState interface (#12170)
issue: #12075
Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
2021-11-23 10:55:14 +08:00
yukun e9585625e6
Add error return with invalid bool expr (#12168)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-11-22 16:57:15 +08:00
zhenshan.cao 0f2b7d1790
Fix deadlock caused by not releasing the lock in time (#12161)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-11-22 12:19:14 +08:00
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