Commit Graph

685 Commits

Author SHA1 Message Date
bigsheeper
dc1dc199a2
[skip ci] Add comment for getExcludedSegments (#11375)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-06 19:55:18 +08:00
bigsheeper
38375ee1d3
Add LoadBalance (#9945)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-06 16:54:59 +08:00
xige-16
82c199227c
Add execute logic for balancing sealed segments (#11343)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-06 15:22:56 +08:00
yukun
4e5c8811da
Add flow_graph for delta channel in querynode (#11293)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-11-06 11:02:58 +08:00
xige-16
b7644c0c03
[skip ci] Add comments for GetMetrics (#11347)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-05 22:01:03 +08:00
bigsheeper
a756fc78c1
[skip ci] Add comment for addExcludedSegments (#11336)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-05 19:57:35 +08:00
bigsheeper
3ba797fffc
[skip ci] Add comment for removeExcludedSegments (#11335)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-05 19:55:45 +08:00
bigsheeper
85ba05e7f3
[skip ci] Add comment for getSegmentStatistics (#11334)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-05 19:53:54 +08:00
xige-16
1aa8bf404a
Fix querynode ut panic on getSegmentInfo (#11323)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-05 17:33:34 +08:00
xige-16
9fcfbde368
Add getNodeInfoByID and getSegmentInfoByNode function for cluster (#11247)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-05 16:00:55 +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
09f8fa1040
Add query coord watch delta channel (#11218)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-05 14:47:19 +08:00
xige-16
c216c5a387
[skip ci] Add comments for MarshaledHits (#11284)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-05 09:23:11 +08:00
xige-16
fdb32445f2
[skip ci] Add comments for SearchResult (#11283)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-05 09:21:21 +08:00
xige-16
4a8d1991b7
[skip ci] Add comments for InitSegCore (#11282)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-05 09:19:31 +08:00
bigsheeper
e21068ffbc
Fix release collection block in query node (#11249)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-04 19:51:07 +08:00
bigsheeper
4f03f27633
[skip ci] Add comment for getSegmentNum (#11252)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-04 19:02:04 +08:00
bigsheeper
b028e58c8f
[skip ci] Add comment for hasSegment (#11251)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-04 18:59:29 +08:00
bigsheeper
3f2455d03f
[skip ci] Add comment for getSegmentByID (#11250)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-04 18:56:42 +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
zhenshan.cao
34c4ef06fc
[skip ci]Fix golint error in segment.go (#11203)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-11-03 23:50:14 +08:00
zhenshan.cao
59277d6edc
[skip ci]Fix golint error in querynode (#11202)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-11-03 23:48:17 +08:00
bigsheeper
a1106181c3
[skip ci] Add comment for setSegment (#11196)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-03 23:18:57 +08:00
bigsheeper
d6fa46cfbb
[skip ci] Add comment for addSegment (#11194)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-03 23:17:02 +08:00
xige-16
7ea6b773e6
[skip ci] Add comments for Init (#11193)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-03 23:15:16 +08:00
xige-16
48fb8174fa
[skip ci] Add comments for ReleaseSegments (#11192)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-03 23:13:26 +08:00
bigsheeper
1ba39c61c9
[skip ci] Add comment for removeSegment (#11195)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-03 23:09:06 +08:00
xige-16
4df2c23780
[skip ci] Add comments for WatchDmChannels (#11119)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-02 22:00:38 +08:00
xige-16
7c588e5652
[skip ci] Add comments for LoadSegments (#11118)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-02 21:58:22 +08:00
xige-16
aa64b64214
[skip ci] Add comments for GetSegmentInfo (#11117)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-02 21:56:34 +08:00
bigsheeper
2bcaaa83a1
[skip ci] Add comment for getSegmentIDsByVChannel (#11101)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-02 21:54:48 +08:00
bigsheeper
29a2a15820
[skip ci] Add comment for getSegmentIDs (#11100)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-02 21:52:51 +08:00
bigsheeper
06607f6955
[skip ci] Add comment for getPartitionNum (#11099)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-02 21:50:42 +08:00
godchen
0d97549d84
Remove useless log (#11105)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-02 19:20:29 +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
xige-16
90ceca8bb5
[skip ci] Add comments for ReleasePartitions (#11049)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-01 22:58:53 +08:00
xige-16
4f8083c48d
[skip ci] Add comments for RemoveQueryChannel (#11048)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-01 22:57:07 +08:00
bigsheeper
5eb0b67fbc
[skip ci] Add comment for hasPartition (#11022)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-01 22:41:59 +08:00
bigsheeper
b369061ab3
[skip ci] Add comment for getPartitionByID (#11021)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-01 22:40:01 +08:00
bigsheeper
bbfc02e0ca
[skip ci] Add comment for removePartition (#11020)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-01 22:37:50 +08:00
xige-16
b632de8dd2
[skip ci] Add comments for AddQueryChannel (#11047)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-11-01 22:32:33 +08:00
yukun
9286abb9ae
Change LittleEndian to BigEndian in flow_graph_insert_node (#10982)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-11-01 15:23:50 +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
881e547802
[skip ci] Add copyright for query_collection_test.go (#10975)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-01 10:17:54 +08:00
bigsheeper
4661ccea3a
[skip ci] Add comment foe addPartition (#10972)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-01 09:05:55 +08:00
bigsheeper
13be90ea97
[skip ci] Add comment foe getPKFieldIDsByCollectionID (#10971)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-01 09:04:06 +08:00
bigsheeper
51a3dcd64f
[skip ci] Add comment foe getVecFieldIDsByCollectionID (#10970)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-11-01 09:02:04 +08:00
xige-16
7c9cab042b
[skip ci] Add comments for ReleaseCollection (#10959)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-30 19:02:41 +08:00
xige-16
74b6107f5e
[skip ci] Add comments for GetStatisticsChannel (#10958)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-30 19:00:52 +08:00
xige-16
ba40193d69
[skip ci] Add comments for GetComponentStates (#10957)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-30 18:58:59 +08:00
Cai Yudong
7763615780
Remove primary key duplicated query result on query node (#10834)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-30 15:12:41 +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
xige-16
95159ec53c
[skip ci] Add comments for GetTimeTickChannel (#10924)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-29 20:10:43 +08:00
bigsheeper
9c80dc8fcf
[skip ci] Add comment for getPartitionIDs (#10916)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-29 17:56:55 +08:00
bigsheeper
62d58ee7bf
[skip ci] Add comment for getCollectionNum (#10915)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-29 17:55:04 +08:00
bigsheeper
6ba185ab06
[skip ci] Add comment for hasCollection (#10914)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-29 17:53:17 +08:00
bigsheeper
6053d693df
Add query mutex to fix crashed with panic (#10832)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-29 17:12:43 +08:00
zhenshan.cao
c0ea7ee780
Remove unused code in querynode (#10859)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-28 23:58:52 +08:00
xige-16
203da4be2b
[skip ci] Add comments for UpdateStateCode (#10858)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-28 23:52:42 +08:00
Xiaofan
93f205b49e
Rename param names (#10853)
* Rename param names

Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>

* Rename configs

Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-10-28 23:16:40 +08:00
congqixia
62a43d0dd3
Fix log does=>dose typo (#10829)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-28 19:18:24 +08:00
bigsheeper
b5fc643efd
[skip ci] Add comment for addCollection (#10780)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-28 09:44:20 +08:00
bigsheeper
94394508bc
[skip ci] Add comment for removeCollection (#10781)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-27 22:22:21 +08:00
bigsheeper
6ba2f3633e
[skip ci] Add comment for getCollectionByID (#10782)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-27 22:16:24 +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
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
yukun
788ea53f4f
[skip ci]Fix flow_graph_insert_node comment (#10749)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-27 18:01:15 +08:00
congqixia
ff7c107d4d
Filter index segment with empty index file paths (#10751)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-27 17:12:30 +08:00
yukun
902e7172cb
Fix duplicate delete bugs (#10715)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-27 14:36:23 +08:00
congqixia
5317c8abab
Fix waitNewTSafe not waiting (#10724)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-27 14:22:22 +08:00
xige-16
a06dab29d7
Fix query coord set seek position error (#10651)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-26 19:24:23 +08:00
cai.zhang
5b42a3223c
Increase compatibility for EstimateMemorySize interface (#10603)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-26 15:34:21 +08:00
xige-16
0cedd9d47e
Compaction multiSegmentChangeInfo to a single info (#10587)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-26 15:18:22 +08:00
godchen
664da326e4
Add querynode delete ids in sealed segment (#10638)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-26 14:46:19 +08:00
xige-16
a414d16c06
Fix remove segment when querynode receive segmentChangeInfo (#10619)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-26 13:04:18 +08:00
bigsheeper
2df20eaa5a
[skip ci] Add comment for freeAll (#10575)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-25 19:40:05 +08:00
bigsheeper
9ee77bbf01
[skip ci] Add comment for getCollectionIDs (#10574)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-25 19:37:55 +08:00
bigsheeper
75f1c2f230
[skip ci] Add comment for newCollectionReplica (#10573)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-25 19:36:12 +08:00
zhenshan.cao
40750f03c7
Enhance querycoord log (#10523)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-24 15:16:00 +08:00
yukun
6949350b8b
Call segmentLoadDeletedRecord in segment_loader (#10472)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-23 09:31:10 +08:00
zhenshan.cao
af8fc47518
[skip ci]Fix golint error in querynode (#10484)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-22 23:57:11 +08:00
bigsheeper
5c58924420
Add cgroups to get container memory and check index memory in segment loader (#10363)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-22 20:49:10 +08:00
xige-16
8a046a6495
BroadCast sealedSegmentChangeInfo to queryChannel (#10084)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-22 19:07:15 +08:00
bigsheeper
5a11175bea
[skip ci] Add comment for getExcludedSegments (#10465)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-22 19:05:14 +08:00
bigsheeper
83c835a1d6
[skip ci] Add comment for addExcludedSegments (#10464)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-22 19:03:31 +08:00
bigsheeper
bad8a41494
[skip ci] Add comment for removeExcludedSegments (#10463)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-22 19:01:29 +08:00
yukun
f7c0f5b3da
Add segmentLoadDeletedRecord in querynode (#10449)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-22 18:51:14 +08:00
godchen
ffc0c07610
Change delete data primary key to int64 (#10438)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-22 15:37:12 +08:00
godchen
d6bf0c928f
Get stats delta path from datacoord (#10362)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-22 14:31:13 +08:00
groot
70eb275ef4
[skip ci] Fix typo (#10412)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-10-22 14:11:52 +08:00
yukun
fe1927c05d
Support delete in SegmentSealed (#10181)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-22 13:11:11 +08:00
bigsheeper
c7aea829d9
[skip ci] Add comment for getSegmentNum (#10372)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-21 19:54:17 +08:00
bigsheeper
fd95ad8e4a
[skip ci] Add comment for hasSegmentPrivate (#10371)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-21 19:48:06 +08:00
bigsheeper
f35d342426
[skip ci] Add comment for getSegmentStatistics (#10373)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-21 19:22:50 +08:00
bigsheeper
132f57f5b7
Set gracefulTime to 0 (#10114)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-21 10:55:12 +08:00
yukun
5c1733de26
Remove insertpks log in flow_graph_insert_node (#10302)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-20 19:51:23 +08:00
bigsheeper
2d984ba0d1
Fix getSegmentInfo in query node (#9549)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-20 19:47:35 +08:00
bigsheeper
455172202a
[skip ci] Add comment for hasSegment (#10293)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-20 19:25:29 +08:00
bigsheeper
ff4cd4925f
[skip ci] Add comment for getSegmentByID (#10291)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-20 19:23:28 +08:00
bigsheeper
31c222b723
[skip ci] Add comment for getSegmentByIDPrivate (#10292)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-10-20 19:05:04 +08:00