Commit Graph

2917 Commits

Author SHA1 Message Date
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
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.zhang
b179d239b1
[skip ci]Fix golint error for ReleaseCollection in QueryCoord (#10954)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-10-30 18:53:28 +08:00
cai.zhang
b4e4a33b07
[skip ci]Fix golint error for LoadCollection in QueryCoord (#10953)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-10-30 18:51:20 +08:00
cai.zhang
166170f6fe
[skip ci]Fix golint error for ShowCollections in QueryCoord (#10952)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-10-30 18:49:01 +08:00
Cai Yudong
0fe88c0571
Update schema_test (#10932)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-30 15:16:39 +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
yukun
9016bd7e33
[skip ci]Add rocksmq comments (#10925)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-10-29 21:45:01 +08:00
congqixia
390fad4eb7
Fix LatestPosition option conflict with earliest patch (#10907)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-10-29 21:30:49 +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
xige-16
373722d1ca
Load segment before watch dmCahnnel when load collection (#10831)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-29 18:36:40 +08:00
Cai Yudong
0049837dc4
Add utils API AppendFieldData (#10910)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-10-29 18:06:43 +08:00
xige-16
245874a970
Fix too many operations in txn request when save segmentInfo (#10909)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-29 18:04:49 +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
dragondriver
c208363b0d
[skip ci] Fix golint warning of MinIOKV (#10913)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-29 17:51:28 +08:00