Commit Graph

2934 Commits

Author SHA1 Message Date
congqixia
7d671b14ff
Fix SeekToLatest memory leakage and remove redundant logic (#11057)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-11-02 14:14:40 +08:00
Cai Yudong
93339c7f49
Reorder header files for segcore/FieldIndexing.h (#11067)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-02 11:14:33 +08:00
Cai Yudong
5397449f2a
Reorder header files for segcore/FieldIndexing.cpp (#11066)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-02 11:06:30 +08:00
Cai Yudong
623a31ab42
Reorder header files for segcore/ConcurrentVector.h (#11063)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-02 11:02:28 +08:00
Cai Yudong
6d5755998b
Reorder header files for segcore/Collection.h (#11059)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-02 10:46:33 +08:00
Cai Yudong
ca936affac
Reorder header files for segcore/AckResponder.h (#11058)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-02 10:44:34 +08:00
yukun
af7a5ca50f
[skip ci]Add rocksmq client comments (#11052)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-11-01 23:02:33 +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
XuanYang-cn
a086042b45
[skip ci]Update in task (#11032)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-01 22:51:41 +08:00
XuanYang-cn
41e720aad8
[skip ci]Update license for in pt (#11031)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-01 22:49:57 +08:00
XuanYang-cn
e6a87ba94f
[skip ci]Update license for in in (#11030)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-01 22:48:06 +08:00
XuanYang-cn
8566d64f4a
[skip ci]Update license for in errors (#11028)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-01 22:46:00 +08:00
dragondriver
66c255c02e
[skip ci] Fix golint warning of conf_adapter_mgr.go (#11026)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-01 22:43:48 +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
sunby
a55019825b
Fix stale segments selector (#11051)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-11-01 22:30:04 +08:00
congqixia
be0daafdb0
Fix rocksmq SeekToLatest (#11029)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-11-01 19:35:51 +08:00
Cai Yudong
4241326524
Update test API CheckSearchResultDuplicate (#11019)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-01 18:31:59 +08:00
XuanYang-cn
ca857d922c
Fix session util using the same context (#10981)
Before this PR, session_util used the same context for new session,
keepalive check, and etcd keep alive. So if we cancel this context
by ourselves, half the chances will the etcd keep-alive-channel be
closed by etcd, which will make session utils `think` there's something
wrong in connecting to etcd, and half the chances will our keepalive check
exit as expected.

To solve this problem, this PR seperates 2 contexts: etcd keep alive
channel context and our liveness check context. So that when we cancel
this liveness check context, session util will exit as expected.

Resolves: #10881

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-01 18:25:58 +08:00
cai.zhang
5e077fd261
Fix bug for indexnode load balancing (#10994)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-11-01 17:16:05 +08:00
cai.zhang
6956348633
[skip ci]Fix golint error for LoadPartitions in QueryCoord (#11001)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-11-01 17:03:59 +08:00
cai.zhang
d96efac928
[skip ci]Fix golint error for GetPartitionStates in QueryCoord (#11000)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-11-01 17:02:03 +08:00
cai.zhang
4f5a71a475
[skip ci]Fix golint error for ShowPartitions in QueryCoord (#10999)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-11-01 16:55:53 +08:00
godchen
7108612398
[skip ci]Fix allocator typo (#10998)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-01 16:54:07 +08:00
godchen
0970aea7e7
[skip ci]Fix allocator typo (#10997)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-01 16:52:19 +08:00
godchen
d0ee395de5
[skip ci]Fix allocator typo (#10996)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-11-01 16:50:33 +08:00
Xiangyu Wang
53b6b8d0fb
Improve error message in rootcoord (#10876)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-11-01 16:40:10 +08:00
Xiangyu Wang
07818ec26a
Improve error message in rootcoord (#10875)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-11-01 16:38:06 +08:00
Xiangyu Wang
1835a7cb0c
Improve error message in rootcoord (#10877)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-11-01 16:35:57 +08:00
groot
598df45094
[skip ci] Typo (#10992)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-11-01 15:49:55 +08:00
groot
a6160bc79e
[skip ci] Add comment (#10991)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-11-01 15:48:02 +08:00
groot
815d67375a
[skip ci] Add comment (#10990)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-11-01 15:46:12 +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
yukun
d8044299a0
Add uids and seg_offsets check in segcore (#10983)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-11-01 15:21:52 +08:00
XuanYang-cn
225b2c66a0
Fix datanode ut using register bug (#10885)
Resolves: #10881
See also: #8058

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-01 11:01:49 +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
XuanYang-cn
1e3fc5076f
Change etcdkv clientv3 into MetaKv interface (#10903)
This pr:
- changed etcdkv clientv3 into MetaKv interface
- replaced fmt.Sprintf with path.Join for kv key

See also: #8058

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-01 10:19:55 +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
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
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
congqixia
54738d2ac5
[skip ci] Fix lint for datacoord/channel_store.og (#10964)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-30 21:08:00 +08:00
congqixia
2b07876827
[skip ci] Fix lint for AvgAssignRegisterPolicy (#10965)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-30 21:03:52 +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