Commit Graph

1991 Commits

Author SHA1 Message Date
xige-16
72e430614c
[skip ci] Add comment for AsConsumer (#8810)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-28 23:08:05 +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
zhenshan.cao
577d3c76df
[skip ci] Fix golint error in configs.go (#8808)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-09-28 23:04:12 +08:00
bigsheeper
2417a5da69
[skip ci] Add comment for search in streaming (#8805)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-28 22:42:05 +08:00
bigsheeper
243ee06660
[skip ci] Add comment for collection id (#8806)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-28 22:40:05 +08:00
bigsheeper
2515452ea5
[skip ci] Add comment for search in historical (#8804)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-28 22:38:13 +08:00
yukun
c438001a62
Fix rocksdb_kv value free (#8798)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-28 22:34:04 +08:00
nameczz
da9228769c
[skip ci] Improve comments in milvus.proto (#8352)
Signed-off-by: Gitea <zizhao.chen@zilliz.com>
2021-09-28 22:32:13 +08:00
bigsheeper
9d6c95bf25
Add cacheSize to prevent OOM in query node (#8765)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-28 22:24:03 +08:00
dragondriver
803d9ae8ca
Fix trace wrapper to catch the correct file name and line number (#8760)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-28 22:14:03 +08:00
XuanYang-cn
38a94a104d
[skip-ci]Fix golint in types/types.go (#8766)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-28 22:06:06 +08:00
sunby
2ea7c0af25
Check error in datacoord server test (#8802)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-09-28 22:04:06 +08:00
Xiangyu Wang
f6632acc4c
Add unit tests for mq_msgstream.go (#8792)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-09-28 22:02:15 +08:00
cai.zhang
5681042f1d
[skip ci] Fix golint in index_coord_mock.go (#8786)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-09-28 22:00:29 +08:00
cai.zhang
eab7027a60
[skip ci] Fix golint in index_coord.go (#8785)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-09-28 21:58:33 +08:00
cai.zhang
85cf0624ac
[skip ci]Fix golint in indexcoord/client (#8784)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-09-28 21:56:32 +08:00
sunby
eee075b10e
Check error in server test (#8801)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-09-28 21:54:14 +08:00
Yusup
4b53a7fc05
Fix GetIndexByName (#8780)
Signed-off-by: Yusup <yusup@lsgrep.com>
2021-09-28 21:52:20 +08:00
dragondriver
7f61c1e8ea
Refactor alias ut (#8800)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-28 21:30:03 +08:00
yukun
1eb3168254
Unset max open files in rocksdb (#8799)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-28 21:20:03 +08:00
godchen
c23236c50e
Fix chunk manager ci lint (#8779)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-28 20:46:04 +08:00
godchen
e236a1ccf9
[skip ci]Add retry comment (#8776)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-28 20:44:03 +08:00
yukun
7c2729916b
Fix rocksdb_kv error process (#8744)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-28 20:36:04 +08:00
yukun
93fa86daf2
Fix rocksdb_kv memory leak (#8743)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-28 19:36:04 +08:00
congqixia
788844698e
Add implementation check for ConsumerMessage interface (#8781)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-28 19:24:04 +08:00
XuanYang-cn
3be6672753
Add flush channel for delete_node (#8762)
Resolves: #8761

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-28 18:22:16 +08:00
yukun
aea7cc1630
Add rocksdb_kv ut (#8769)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-28 17:48:08 +08:00
congqixia
01b4253a74
Fix mqconsumer data race (#8752)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-28 17:04:04 +08:00
congqixia
d374ea71ba
Unify liveness check in datacoord and datanode (#8480)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-28 16:10:04 +08:00
godchen
af173dd2a0
Add delete codec (#8736)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-28 14:30:02 +08:00
Cai Yudong
45950f158b
[skip ci] Update collection related comments (#8740)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-28 14:14:03 +08:00
ZhiShen
0e767f0e1b
Change cmake version (#8666)
Change cmake version from 3.16 to 3.18

1. Change the CMakeList's minimum require version.

2. Change the describtion document of cmake version.

Resolves: milvus-io#8407

Signed-off-by: Shen Zhi <m13120163046@163.com>
2021-09-28 14:00: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
Xiaofan
1edc00cd82
Add a log ETCD path (#8739)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-28 13:54:03 +08:00
Xiaofan
e0e7042b5e
Add test for tsafe (#8626)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-28 12:28:03 +08:00
Cai Yudong
37e4a3203e
[skip ci] Clean comments (#8731)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-28 11:58:03 +08:00
XuanYang-cn
b150f57927
No buffer also means flushed (#8686)
Resolves: #8684

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-28 11:18:03 +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
Xiangyu Wang
ea53d52dba
Fix golint warnings in rockskv (#8723)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-09-28 08:28:02 +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
cai.zhang
ed4d912b5b
Add minio root path for indexcoord (#8673)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-27 23:54:03 +08:00
Xiangyu Wang
99b022fc4e
Clear golint warning in msgstream (#8722)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-09-27 23:52: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
cai.zhang
b70665ed89
Add comment for index interface (#8712)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-27 22:48:03 +08:00
sunby
745221e87d
Check error in segment_manager.go (#8705)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-09-27 22:46:12 +08:00
sunby
e5bc8e7050
Check error in MoveSegmentBinlogs (#8704)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-09-27 22:44:18 +08:00
sunby
c152cf2b6b
Check error in segment_manager_test.go (#8706)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-09-27 22:42:02 +08:00
Xiaofan
93fc10f8a6
Remove channel&&common.yaml (#8716)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-27 22:32:02 +08:00
congqixia
ffbfaf7f76
Apply collection start position when open segment (#8697)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-27 20:34:03 +08:00
yukun
dcf1c27d66
Fix go lint in mqclient (#8685)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-27 20:32:13 +08:00
yukun
ff3573c921
Add segcore error messages (#8681)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-27 20:30:23 +08:00
bigsheeper
f7eaff5145
[skip ci] Add comment for queryNodeFlowGraph (#8700)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-27 19:06:07 +08:00
bigsheeper
5490b84e77
[skip ci] Add comment for NewQueryNode func (#8699)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-27 19:02:09 +08:00
groot
c982e368dd
Add unittest for distributed/datanode (#8695)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-27 19:00:22 +08:00
bigsheeper
692ceb32a3
[skip ci] Add comment for indexLoader (#8698)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-27 18:58:21 +08:00
groot
693994c6db
Add unittest for distributed/querycoord/indexnode (#8680)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-27 18:41:58 +08:00
dragondriver
c05d4fa362
[skip ci] Add description for proxy api (#8696)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-27 18:23:59 +08:00
congqixia
88e319acda
Save start position in collection meta (#8682)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-27 18:10:00 +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
groot
d0b75bd68f
Add unittest for logutil (#8678)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-27 17:29:57 +08:00
godchen
51151b7b95
Fix delete node ut error (#8674)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-27 17:07:58 +08:00
cai.zhang
171f362b86
Use recursion to delete objects in minio (#8671)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-27 16:20:06 +08:00
godchen
77a773dff0
Change segment replica struct (#8608)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-27 14:38:00 +08:00
Cai Yudong
6ab00add27
Change expr_plan to primary_keys in internal proto DeleteRequest (#8655)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-27 14:17:58 +08:00
congqixia
c17f845ab3
Add StartPositions fields in proto (#8657)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-27 14:13:58 +08:00
groot
cd03da2a9d
Add unittest for distributed/querynode (#8648)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-27 14:12:08 +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
Cai Yudong
31590bde2c
Rename ChannelID to ShardName to fix build fail (#8646)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-27 11:27:30 +08:00
groot
26cdbb24f8
Add unittest for distributed/rootcoord (#8643)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-27 11:07:58 +08:00
xige-16
6df613f648
[skip ci] Commemt querycoord cluster interface (#8627)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-27 10:47:57 +08:00
sunby
d1dead500c
Check error in allocator test (#8621)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-09-27 10:46:08 +08:00
Cai Yudong
ece0a06798
Update repack delete msg (#8631)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-09-27 10:35:58 +08:00
congqixia
b23761f3ed
[skip ci] Add Datacoord Flush description in types (#8641)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-27 10:23:57 +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
55f8baa6cc
[skip ci]Remove unnecessary log in index (#8630)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-26 22:03:58 +08:00
xige-16
40c6e01b41
Reduce the running time of ut (#8579)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-26 22:01:57 +08:00
xige-16
d35b0718e7
Delete useless var in queryCoord struct (#8004)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-26 21:59:58 +08:00
xige-16
f30f9826ef
[skip ci] Comment querycoord's meta interface (#8628)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-26 21:57:57 +08:00
sunby
cd923a4a98
Check error in param table test (#8620)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-09-26 21:55:58 +08:00
sunby
75767d58b3
Remove useless codes in datacoord (#8619)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-09-26 21:54:07 +08:00
cai.zhang
9e37881b29
Standard indexcoord log printing (#8588)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-26 21:23:57 +08:00
cai.zhang
df30315144
Standard indexnode log printing (#8587)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-26 21:22:04 +08:00
Xiaofan
8465d03dec
Make tsafe close not elegant (#8582)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-26 21:20:10 +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
godchen
d0074c3641
[skip ci]Fix trace comment (#8611)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-26 21:15:56 +08:00
XuanYang-cn
1307782093
[skip-ci]Fix golint in param_table in datanode (#8602)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-26 20:57:59 +08:00
XuanYang-cn
ebd894d8b7
Refactor buffer size calculation (#8565)
This PR changes the datanode insertBufSize config
from 32000 number of rows to 16MB

Resolves: #7741

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-26 20:55:59 +08:00
XuanYang-cn
b376107ab3
[skip-ci]Fix golint in segmentRep (#8601)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-26 20:51:58 +08:00
XuanYang-cn
b13170f83e
[skip-ci]Fix golint in flowgraphnode.go (#8600)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-26 20:49:59 +08:00
bigsheeper
057c7cb591
[skip ci] Add comment for historical (#8607)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-26 20:19:58 +08:00
bigsheeper
4b68be2d36
[skip ci] Add comment for addCollectionFlowGraph (#8606)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-26 20:18:03 +08:00
bigsheeper
78604cc1e1
[skip ci] Add comment for query node (#8605)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-26 20:16:12 +08:00
godchen
5eb1a449d2
Make retry config private (#8613)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-26 20:13:58 +08:00
Xiaofan
31ec399edb
Move channel configuration from channel.yaml to milvus.yaml (#8420)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-26 19:46:17 +08:00
yukun
174c6275ca
golint rocksmq client (#8604)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-09-26 19:35:57 +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
cai.zhang
0fa38d5d93
Add root path for index files in minio (#8212)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-26 19:19:57 +08:00
cai.zhang
ea1e2dd63f
Add comment for indexcoord nodemanager (#8603)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-26 18:55:58 +08:00