Commit Graph

564 Commits

Author SHA1 Message Date
yukun
55f148f17e
Add deleteMessage in flow_graph_filter_dm_node (#9504)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-15 16:54:43 +08:00
yukun
997e88d8c6
Add deleteMessage in flow_graph_insert_node (#9505)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-15 11:02:32 +08:00
bigsheeper
c92706c75d
[skip ci] Add comment for getPartitionByID (#9892)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-14 18:54:34 +08:00
bigsheeper
d59bb7dd29
[skip ci] Add comment for removePartitionPrivate (#9891)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-14 18:52:41 +08:00
bigsheeper
5ffe605865
[skip ci] Add comment for removePartition (#9890)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-14 18:50:51 +08:00
congqixia
ec6e8e4127
Hide liveChn into sessionutil and fix liveness init order (#9860)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-14 16:40:35 +08:00
zhenshan.cao
9eacfe719a
[skip ci]Fix golint error in querynode (#9849)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-14 14:02:41 +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
bigsheeper
59daccf67c
Fix get memory info in getSystemInfoMetrics (#9809)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-13 21:20:33 +08:00
bigsheeper
4b77e6e047
[skip ci] Add comment for addPartitionPrivate (#9808)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-13 19:14:33 +08:00
bigsheeper
1a72d05a1b
[skip ci] Add comment for addPartition (#9807)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-13 19:12:39 +08:00
bigsheeper
71a6c5a7e6
[skip ci] Add comment for getFieldsByCollectionIDPrivate (#9806)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-13 19:10:46 +08:00
zhenshan.cao
0da7ed96f7
[skip ci]Fix golint error in querynode (#9747)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-12 20:25:02 +08:00
dragondriver
63ae5bd90c
Expose created time and updated time to querynode metrics (#9738)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-12 19:56:34 +08:00
zwd1208
d5e179e70b
[skip ci]Change uppercase for minio (#9734)
Signed-off-by: Weida Zhu <weida.zhu@zilliz.com>
2021-10-12 19:35:14 +08:00
bigsheeper
55193ec75a
[skip ci] Add comment for getVecFieldIDsByCollectionID (#9721)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-12 19:11:04 +08:00
bigsheeper
de14446286
[skip ci] Add comment for getPartitionIDs (#9720)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-12 19:07:12 +08:00
bigsheeper
8a4a232eff
[skip ci] Add comment for getCollectionNum (#9719)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-12 19:05:17 +08:00
bigsheeper
dd77e08b9e
[skip ci] Add comment for hasCollection (#9660)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-11 19:04:37 +08:00
bigsheeper
1b128c3fbf
[skip ci] Add comment for getCollectionByIDPrivate (#9659)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-11 19:02:45 +08:00
bigsheeper
ba998b1673
[skip ci] Add comment for hasCollectionPrivate (#9661)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-11 18:56:37 +08:00
groot
0d49316103
Add unittest for distributed/querynode (#9608)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-10-11 17:16:30 +08:00
bigsheeper
d567b21fd4
Add globalSegmentManager and consume changeInfoMsg (#9575)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-11 15:40:38 +08:00
bigsheeper
8c510a52b2
Use replica memory size and cacheSize in getSystemInfoMetrics (#9579)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-11 15:06:43 +08:00
zhenshan.cao
a7dc9bdf15
Fix golint error in querynode (#9597)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-09 22:52:59 +08:00
dragondriver
dedf745b76
Rename IndexParamsFile to IndexParamsKey (#9563)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-09 19:27:02 +08:00
bigsheeper
cc1801fa98
Add comment for removeCollectionPrivate (#9584)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-09 18:41:32 +08:00
bigsheeper
1b3a7b129b
Add comment for removeCollection (#9583)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-09 18:39:48 +08:00
bigsheeper
5865ead978
[skip ci] Add comment for getCollectionByID (#9585)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-09 18:33:32 +08:00
bigsheeper
edea91ae6e
[skip ci] Add comment for addColllection (#9523)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-08 23:53:25 +08:00
bigsheeper
ce17e12819
Fix data race in query service (#9454)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-08 17:41:49 +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
bigsheeper
d7b29c059c
[skip ci] Add comment for getCollectionIDs (#9435)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-08 06:47:15 +08:00
bigsheeper
8696a37fe6
[skip ci] Add comment for printReplica (#9434)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-08 06:45:25 +08:00
bigsheeper
44622622f6
[skip ci] Add comment for getSegmentsMemSize (#9433)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-08 06:43:26 +08:00
bigsheeper
8ab25a1bb1
[skip ci] Add comment for deleteCollection (#9367)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-06 23:38:00 +08:00
bigsheeper
c86193fb7b
[skip ci] Add comment for newCollection (#9366)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-06 23:36:13 +08:00
bigsheeper
0e4ee6d420
[skip ci] Add comment for getLoadType (#9365)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-06 23:34:24 +08:00
bigsheeper
12dcbe3d78
[skip ci] Add comment for setLoadType (#9299)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-05 22:44:00 +08:00
bigsheeper
eab57af117
[skip ci] Add comment for checkReleasedPartitions (#9297)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-05 22:40:34 +08:00
bigsheeper
8b30d9aeb5
[skip ci] Add comment for deleteReleasedPartition (#9296)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-05 22:38:44 +08:00
zhenshan.cao
d835adb442
[skip ci] Fix golint error in querynode (#9289)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-05 21:38:16 +08:00
zhenshan.cao
a4cddd950b
[skip ci] Fix golint error in querynode (#9288)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-05 21:36:24 +08:00
congqixia
1891adb7e3
Add QueryNode implementation Assertion (#9259)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-05 12:42:04 +08:00
bigsheeper
040618187b
[skip ci] Add comment for addReleasedPartition (#9244)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-05 11:19:23 +08:00
bigsheeper
4427b24171
[skip ci] Add comment for setReleaseTime (#9242)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-05 11:17:29 +08:00
bigsheeper
c1b9f4303f
[skip ci] Add comment for getReleaseTime (#9243)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-05 11:15:14 +08:00
bigsheeper
be9ab19b7e
[skip ci] Add comment for getPChannels (#9174)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-04 08:22:51 +08:00
bigsheeper
91e4adff15
[skip ci] Add comment for addPChannels (#9173)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-04 08:18:59 +08:00
bigsheeper
358d2e1e07
[skip ci] Add comment for getVChannels (#9172)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-04 08:16:44 +08:00
zhenshan.cao
83b19a559f
[skip ci] Fix golint error in type_def.go (#9161)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-03 21:09:56 +08:00
bigsheeper
02b2f3c88b
[skip ci] Add comment for addVChannels (#9103)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-03 00:52:02 +08:00
bigsheeper
0b545efa4a
[skip ci] Add comment for removePartitionID (#9102)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-03 00:40:03 +08:00
bigsheeper
5b074732f5
[skip ci] Add comment for addPartitionID (#9101)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-03 00:38:13 +08:00
bigsheeper
a9a4b89b0e
[skip ci] Add comment for Schema (#9045)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-01 23:44:33 +08:00
bigsheeper
66eac49c49
[skip ci] Add comment for HandleCProtoResult (#9044)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-01 23:44:10 +08:00
bigsheeper
4323b5dc98
[skip ci] Add comment for HandleCStatus (#9043)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-01 23:43:21 +08:00
bigsheeper
a5a85f75bd
[skip ci] Add comment for newDataSyncService (#8962)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-01 09:53:43 +08:00
bigsheeper
4cf5843516
[skip ci] Add comment for newHistorical (#8963)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-01 09:45:12 +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
bigsheeper
e7d92e4e79
Add streaming segments memory to used memory when checkLoadMemory (#8940)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-30 21:54:08 +08:00
groot
b17d253db1
Add unittest for distributed/querynode (#8834)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-30 10:02:02 +08:00
bigsheeper
6f2f09db3a
[skip ci] Add comment for MarshalForCGo (#8870)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-29 23:38:20 +08:00
bigsheeper
954e01aed8
[skip ci] Add comment for protoCGo.destruct (#8871)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-29 23:24:36 +08:00
dragondriver
a10f421c14
Get SIMD type used in faiss (#8849)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-29 20:50:19 +08:00
zhenshan.cao
d1d5f9e409
Replace proto.MarshalTextString with proto.Marshal (#8542)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-09-29 20:26:00 +08:00
congqixia
db944cd09c
Refactor flowgraph and related invocation (#8770)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-29 20:19:59 +08:00
dragondriver
cf8600077f
Refactor the index file format (#8514)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-29 09:52: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
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
Xiaofan
e0e7042b5e
Add test for tsafe (#8626)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-28 12:28:03 +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
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
Xiaofan
585989935a
Revert the logger change (#8677)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-27 17:37: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
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
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
congqixia
de3fd15aee
Fix tsafe close deadlock (#8567)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-26 14:29:57 +08:00
groot
a20a9c71e2
Reduce go unittest time cost (#8556)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-26 12:56:07 +08:00
congqixia
6f7f71fdc0
Add lock before reading tSafeWatcher map (#8562)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-26 12:37:56 +08:00
congqixia
c72f074009
Add waitgroup for tsafe close logic (#8545)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-26 11:07:56 +08:00
zhenshan.cao
2d9b4fedc9
[skip ci] Add comments for flow_graph_message.go (#8523)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-09-24 21:37:57 +08:00
bigsheeper
e61bafc6f5
Init query node once (#8086)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-24 21:03:56 +08:00
bigsheeper
d7f311a208
[skip ci] Add comment for streaming (#8498)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-24 20:54:01 +08:00
bigsheeper
977d55b66c
[skip ci] Add comment for task (#8497)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-24 20:53:49 +08:00
bigsheeper
6bc4379de5
[skip ci] Add comment for tSafe replica (#8495)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-24 20:52:13 +08:00
bigsheeper
52126f2d5a
Dynamic add tSafe watcher, use sync.Cond instead of selectCase, add ref count (#8050)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-24 13:57:54 +08:00
bigsheeper
1b7056d3c2
[skip ci] Add comment for dataSyncService in query node (#8418)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-23 21:48:12 +08:00
bigsheeper
a6060e4481
[skip ci] Add comment for errors in query node (#8417)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-23 21:46:16 +08:00
bigsheeper
322f4ec80f
[skip ci] Add comment for type def in query node (#8415)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-23 21:44:17 +08:00
congqixia
da6d93527d
Add session liveness check (#8408)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-23 18:29:55 +08:00
dragondriver
b3f6bd2088
Expose simd type to query node metrics (#8299)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-23 11: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
bigsheeper
220d17500c
[skip ci] Add comment for query node flow graph (#8326)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-22 20:10:09 +08:00