Commit Graph

3696 Commits

Author SHA1 Message Date
Cai Yudong
41ba52bb28
Support C unittest profiling (#12899)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-07 20:17:03 +08:00
congqixia
e4de86ba42
Update rootcoord state to unhealthy before stopping (#12845)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-07 18:39:03 +08:00
edward.zeng
d3c23ca5e9
[skip ci] Refine etcd kv comment (#12872)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-07 15:55:03 +08:00
shaoyue
d5aa125c49
[skip ci] Add comment for StatsReader (#12870)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-07 14:53:13 +08:00
shaoyue
ccf957e1a8
[skip ci] Add comment for PayloadReader (#12869)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-07 14:51:21 +08:00
shaoyue
29c68eb901
[skip ci] Add comment for metricsinfo/topology.go (#12868)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-07 14:49:30 +08:00
edward.zeng
d1c7a1574d
[skip ci] Refine rocksdb kv comment (#12867)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-07 14:47:37 +08:00
jingkl
8b7696ab8b
[skip ci] Add notes to conf adapter (#12859)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>
2021-12-07 14:40:05 +08:00
JackLCL
e51ef53632
[skip ci]Fix error log output format in flush_manager.go (#12857)
Signed-off-by: JackLCL <chenglong.li@zilliz.com>
2021-12-07 14:38:15 +08:00
JackLCL
f90410fe8e
[skip ci]Fix error log output format in segment_manager.go (#12856)
Signed-off-by: JackLCL <chenglong.li@zilliz.com>
2021-12-07 14:36:27 +08:00
JackLCL
de00aa038a
[skip ci]Fix error log output format in meta.go (#12854)
Signed-off-by: JackLCL <chenglong.li@zilliz.com>
2021-12-07 14:32:51 +08:00
congqixia
d68f7602e5
Standalone healthz check include proxy and coordinator state check (#12812)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-07 13:33:43 +08:00
Cai Yudong
d40af885b9
Update header files for segcore/SegmentInterface.cpp (#12770)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-07 10:17:51 +08:00
Cai Yudong
55c4d4754a
Remove useless header file for segment_c.cpp (#12768)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-07 10:15:59 +08:00
Cai Yudong
b053317545
Rename FaissMetricTypeToString to MetricTypeToString (#12767)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-07 10:13:53 +08:00
cai.zhang
b4be8acc1d
Use read lock when only read the var (#12626)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-07 10:03:47 +08:00
cai.zhang
1f67ab4e09
Use read lock when only read the var (#12712)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-07 10:01:52 +08:00
cai.zhang
926f47e318
Add log for indexcoord (#12789)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-07 09:55:56 +08:00
cai.zhang
ed58c277e3
Add log for search (#12625)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-07 09:54:01 +08:00
jaime
b97e88e859
[skip ci] Add graceful stop grpc server log in proxy (#12827)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
2021-12-07 09:51:56 +08:00
jaime
b06fe92b99
[skip ci] Add graceful stop grpc server log in querycoord (#12830)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
2021-12-07 09:49:57 +08:00
jaime
8d41448dbf
[skip ci] Add a function comment for AddDependency (#12829)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
2021-12-07 09:44:11 +08:00
jaime
e4746e8c6e
[skip ci] Add a function comment for LoadWithPrefix2 (#12828)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
2021-12-07 09:42:15 +08:00
xige-16
c9fa6d6dd1
[skip ci]Fix golint for setCollectionInfo (#12833)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 21:51:45 +08:00
xige-16
52978273b5
[skip ci]Fix golint for node.start (#12831)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 21:49:53 +08:00
xige-16
d98b808f26
[skip ci]Fix golint for addCollection (#12832)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 21:47:58 +08:00
bigsheeper
7149a9f23c
[skip ci] Add comment for insertNode (#12820)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-12-06 21:15:48 +08:00
bigsheeper
e2389064bb
[skip ci] Add comment for newFilteredDmNode (#12819)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-12-06 21:13:53 +08:00
XuanYang-cn
02347baf2d
[skip ci]Update license for qn mock (#12817)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-12-06 21:10:09 +08:00
XuanYang-cn
9bc9be84dc
[skip ci]Update license for qn metric_info (#12816)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-12-06 21:08:17 +08:00
XuanYang-cn
64e04ecc56
[skip ci]Update license for qn load_index (#12815)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-12-06 21:06:26 +08:00
yukun
67cab4e915
[skip ci]Fix golint for rocksmq (#12811)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-12-06 19:47:46 +08:00
yukun
00f42b7e3e
[skip ci]Fix golint for rocksmq (#12810)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-12-06 19:45:52 +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
shaoyue
2371a75cc6
[skip ci] Add comment for datanode Client (#12804)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-06 19:07:47 +08:00
shaoyue
555c8df7c6
[skip ci] Add comment for GrpcClient interface (#12803)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-06 19:05:55 +08:00
shaoyue
d7e6678925
[skip ci] Add comment for mock/datacoord_client.go (#12802)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-06 19:04:03 +08:00
yanliang567
b2402cd916
[skip ci]Update etcd name in comments (#12800)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2021-12-06 19:01:49 +08:00
yanliang567
694e3f72a1
[skip ci]Refine etcd name in comments (#12798)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2021-12-06 18:59:55 +08:00
cai.zhang
c12885dcf9
[skip ci]Add the comment for metaTable in indexcoord (#12790)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-06 18:31:47 +08:00
cai.zhang
c3e0299f06
[skip ci]Add comment for assignTask in indexcoord (#12788)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-06 18:29:54 +08:00
jingkl
4a8d8010c0
[skip ci]Add notes to conf adapter (#12787)
Signed-off-by: zilliz <zilliz@zillizdeMacBook-Pro.local>

Co-authored-by: zilliz <zilliz@zillizdeMacBook-Pro.local>
2021-12-06 18:28:04 +08:00
Xiangyu Wang
936b1a7f8b
Remove unused codes (#12780)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-12-06 18:20:31 +08:00
Cai Yudong
32f3f78790
Reorder header files for segcore/TimestampIndex.h (#12766)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-06 18:11:07 +08:00
Cai Yudong
35cd7b5689
Format TimestampIndex.cpp (#12764)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-06 18:07:31 +08:00
Bingyi Sun
92eff1565c
Fix unlocked mutex in rootcoord (#12772)
issue: #12297
Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
2021-12-06 17:25:35 +08:00
congqixia
b20a238c38
Fix newDataSyncService panicking with normal segment has no dml pos (#12771)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-06 16:21:35 +08:00
cai.zhang
b16bbb1ed2
Add log for GetComponentStates in querynode (#12713)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-06 15:25:35 +08:00
cai.zhang
dd88083db7
Use read lock when only read the var (#12711)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-06 15:23:41 +08:00
cai.zhang
6c1a471570
Use read lock when only read the var (#12627)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-06 15:21:46 +08:00
yukun
847d3e7d4a
Break page loop when no acked ts is nil (#12705)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-12-06 15:17:35 +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
xige-16
9a208254d8
[skip ci] Fix golint of cluster (#12737)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 11:43:34 +08:00
congqixia
38956215aa
Update indexnode state to unhealthy before stopping (#12744)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-06 10:39:36 +08:00
congqixia
19000e6af2
Update indexcoord state to unhealthy before stopping (#12723)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-06 10:37:40 +08:00
xige-16
7d723abdff
Start balanceLoop when Params.autoBalance equal to true (#12660)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 10:19:41 +08:00
xige-16
e980516036
[skip ci] Fix golint of balanceLoop (#12736)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 10:07:35 +08:00
xige-16
6d9a93ef37
[skip ci] Fix golint of reloadFromKV (#12735)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-06 10:05:41 +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
congqixia
58c5b6093d
Fix close10000 ut has chances to fail (#12740)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-06 09:59:35 +08:00
Xiaofan
0f5776e5fb
Index coord should not get all node from etcd each time (#12668)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-12-04 11:39:34 +08:00
congqixia
b009b39557
Fix zero length slice declaration in querycoord/channel_allocator.go (#12716)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-04 00:41:33 +08:00
bigsheeper
2512ca3684
[skip ci] Add comment for filterInvalidInsertMessage (#12734)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-12-03 20:39:33 +08:00
bigsheeper
2a98ce272e
[skip ci] Add comment for filterInvalidDeleteMessage (#12733)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-12-03 20:37:38 +08:00
bigsheeper
a34b1a3e08
[skip ci] Add comment for filterDmNode Operate (#12732)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-12-03 20:35:44 +08:00
yukun
5702494efe
[skip ci]Add comment for rocksmq reader (#12731)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-12-03 20:33:50 +08:00
yukun
a1ab961e49
[skip ci]Add comment for rocksmq reader (#12730)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-12-03 20:31:54 +08:00
XuanYang-cn
a2f6e31d05
[skip ci]Update license for qn index loader (#12728)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-12-03 19:29:33 +08:00
XuanYang-cn
a036f8892f
[skip ci]Update license for qn index info (#12727)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-12-03 19:27:38 +08:00
XuanYang-cn
5071035701
[skip ci]Update license for qn impl (#12726)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-12-03 19:25:45 +08:00
edward.zeng
1d2311d4da
[skip ci] Refine minio kv comment (#12724)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-03 19:21:33 +08:00
godchen
513afd9e42
Update arrow version (#12644)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-12-03 18:59:33 +08:00
Bingyi Sun
8bbaae04ff
Decrease compaction parallel (#12707)
Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
2021-12-03 18:57:33 +08:00
congqixia
22fddc537c
Fix not all segment state is drop after DropVirtualChannel (#12702)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-03 18:55:34 +08:00
edward.zeng
877bfdac58
[skip ci] Refine querycoord param table comment (#12722)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-03 18:51:33 +08:00
shaoyue
61e8b561c3
[skip ci] Add comment for util consts (#12696)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-03 17:15:33 +08:00
shaoyue
03c4369314
[skip ci] Add comment for BaseConfAdapter.CheckTrain (#12695)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-03 17:13:39 +08:00
shaoyue
c77ed0417f
[skip ci] Add comment for basetable (#12694)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-12-03 17:09:43 +08:00
congqixia
ffd05eb140
Fix deadlock in mergedTimeTickSender (#12697)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-03 16:39:33 +08:00
zhenshan.cao
af22977cd3
Fixbug: grpc connection is closed by mistake (#12307)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-12-03 15:15:32 +08:00
Cai Yudong
1a806a174a
Support load collection with multiple vector column (#12630)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-03 11:29:33 +08:00
cai.zhang
ed546d0a55
Check the indexcoord state before building index (#12451)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-02 23:11:35 +08:00
xige-16
567c657310
[skip ci]Fix golint for getComponentInfos (#12665)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-02 22:55:36 +08:00
xige-16
0e48ac19e9
[skip ci]Fix golint for isOnline (#12664)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-02 22:53:40 +08:00
xige-16
d237edd846
[skip ci]Fix golint for getOfflineNodes (#12663)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-12-02 22:51:46 +08:00
bigsheeper
ca4e0503fe
[skip ci] Add comment for filterDMNode Name (#12659)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-12-02 22:47:56 +08:00
bigsheeper
7a649e1c2f
[skip ci] Add comment for filterDMNode (#12658)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-12-02 22:46:01 +08:00
bigsheeper
192ab4eb91
[skip ci] Add comment for newFilterDeleteNode (#12657)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-12-02 22:44:09 +08:00
Bingyi Sun
e06a9aeabd
[skip ci]Improve comment for Subscribe (#12655)
Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
2021-12-02 22:40:21 +08:00
Bingyi Sun
142df87575
[skip ci]Improve comment for CreateProducer (#12654)
Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
2021-12-02 22:38:23 +08:00
Bingyi Sun
7b9cf61394
[skip ci]Change comment of CreateReader (#12653)
Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
2021-12-02 22:36:31 +08:00
XuanYang-cn
cc91fae0bd
[skip ci]Update license for qn historical (#12647)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-12-02 22:32:42 +08:00
XuanYang-cn
3ab44e5f3f
[skip ci]Update license for qn fg service (#12645)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-12-02 22:30:52 +08:00
XuanYang-cn
5029d9b4ce
[skip ci]Update license for qn global sealed seg (#12646)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-12-02 22:26:45 +08:00
congqixia
58664bb6b9
Fix zero length slice declaration in datacoord/channel_manager.go (#12582)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-02 19:17:38 +08:00
congqixia
21a6ce8647
Remove redundant conversion in event_writer.go (#12590)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-02 19:15:33 +08:00
edward.zeng
45cbec1f7b
[skip ci] Refine datanode binlog io comment (#12638)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-02 19:11:32 +08:00