Commit Graph

6862 Commits (2fdbe7f4c0543ad22f18f12777f0f13d217f11f3)

Author SHA1 Message Date
wei liu e2096965c7
fix leader view (#23038)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-03-29 14:06:02 +08:00
smellthemoon b1992e84cc
Delete dup check (#23076)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-03-29 10:06:01 +08:00
yah01 dc6d4b913a
Fix partitions may be not recovered with double load partitions (#23061)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-28 21:38:02 +08:00
smellthemoon 846de72fb3
fix to reduce memory (#23023)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-03-28 21:36:06 +08:00
yah01 826c1fb850
Support mmap on QueryNodeV2 (#23073)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-28 21:30:05 +08:00
Xiaofan d0510210df
Add config for disable BF load (#22996)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-03-28 20:06:10 +08:00
XuanYang-cn 9691315c21
Fix flush deltabuf with segmentID=0 (#23059)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2023-03-28 19:14:01 +08:00
wei liu ed60b434fa
fix unstable ut (#23070)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-03-28 19:06:01 +08:00
aoiasd 5d172d0f4f
Refine errors of datanode (#22852)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-03-28 19:04:00 +08:00
zhenshan.cao e3c3c949c4
Fix datarace of flow_graph_manager_test.go in package datanode (#23043)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2023-03-28 10:42:00 +08:00
Bingyi Sun d6bfe8fbb9
Change frequent logs to debug level (#23012)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
Co-authored-by: sunby <bingyi.sun@zilliz.com>
2023-03-28 07:12:01 +08:00
zhenshan.cao d55c860383
Align the maximum dim of the diskann index and collection (#23039)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2023-03-28 00:06:00 +08:00
yah01 ae0f467c02
Fix segment/channel may be re-loaded/subscribed (#22969)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-27 18:28:00 +08:00
Enwei Jiao ef57ba3bac
Remove easylogging and replace by GLog (#22979)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-03-27 18:22:02 +08:00
yihao.dai b21f03682a
Fix flowgraph manager test (#23009)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2023-03-27 18:00:05 +08:00
congqixia 4008ee6d60
Remove datanode ddNode forward delta logic (#23005)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-27 14:18:00 +08:00
yah01 081572d31c
Refactor QueryNode (#21625)
Signed-off-by: yah01 <yang.cen@zilliz.com>
Co-authored-by: Congqi Xia <congqi.xia@zilliz.com>
Co-authored-by: aoiasd <zhicheng.yue@zilliz.com>
2023-03-27 00:42:00 +08:00
cai.zhang 977943463e
Check index params and type params (#22988)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-03-26 22:15:59 +08:00
Xiaofan 5a914aedf3
Make Datacoord TT to be configurable (#22956)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-03-24 22:24:04 +08:00
XuanYang-cn da58ba6a49
Fix endless appending sids (#22977)
See also: #22976

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2023-03-24 18:00:03 +08:00
Cai Yudong 8aebc6f3b7
Remove faiss GPU index support (#22966)
Signed-off-by: Yudong Cai <yudong.cai@zilliz.com>
2023-03-24 17:53:58 +08:00
Jiquan Long 0be96ab610
Check if all columns aligned with same num_rows (#22968)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-03-24 17:09:58 +08:00
smellthemoon 3dae84f065
Use merr in proxy (#22904)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-03-24 15:27:58 +08:00
Gao 8b3e5189e1
Add querynode plugin (#22379)
Signed-off-by: chasingegg <chao.gao@zilliz.com>
2023-03-24 15:21:59 +08:00
Jiquan Long ef93e24da7
Fix cpp lint (#22955)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-03-24 11:23:59 +08:00
congqixia 8f847884c2
Fix misc copylocks and remove exclude rule (#22962)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-24 11:17:58 +08:00
Cai Yudong 0e9a4478e3
Remove useless index mode (#22934)
Signed-off-by: Yudong Cai <yudong.cai@zilliz.com>
2023-03-23 21:39:59 +08:00
XuanYang-cn 93bc805933
Enhance ID allocator in DataNode (#22905)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2023-03-23 19:43:57 +08:00
congqixia 5bf6e69381
Fix refresher copylocks and once not guaranteed (#22949)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-23 19:27:58 +08:00
congqixia 1b4e29e1ee
Fix copylocks for EnvSource (#22948)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-23 19:26:02 +08:00
SimFG e8f8c1b445
Check the collection num when creating the collection (#22946)
Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-03-23 16:47:57 +08:00
smellthemoon af458017f4
Add some locks when write (#22938)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-03-23 15:57:57 +08:00
congqixia 31c22e5d24
Fix NodeID rw race (#22945)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-23 11:45:57 +08:00
congqixia 980aaeceb9
Fill coordinators client target node id (#22899)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-22 10:07:57 +08:00
yihao.dai f2ffb5db26
Use buffer size at memory sync policy (#22825)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2023-03-21 21:37:56 +08:00
yah01 2b81933d13
Refine logs of DistHandler (#22879)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-21 18:11:57 +08:00
yah01 68b9cabb87
Fix GetShardLeader returns old leader (#22887)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-21 16:57:57 +08:00
Enwei Jiao fd974df09f
OTEL integration in cpp (#22175)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-03-21 16:31:57 +08:00
yah01 9efebb3df7
Optimize load segment, make load fields concurrent (#22856)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-21 16:27:57 +08:00
yah01 532d12c4cf
Fix the code lost with multi errors (#22877)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-21 14:07:57 +08:00
smellthemoon 4c603cd02c
Fix upsert msgid (#22839)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-03-21 14:06:01 +08:00
SimFG 8259ca6929
Add the user rpc counter (#22872)
Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-03-21 11:37:56 +08:00
yihao.dai 254cd4f15f
Fix MockQueryNode (#22859)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2023-03-20 17:25:56 +08:00
congqixia 0317e0458b
Use Set[string] instead of map[string]interface{} ServerType (#22853)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-20 16:21:57 +08:00
yihao.dai 1f718118e9
Dynamic load/release partitions (#22655)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2023-03-20 14:55:57 +08:00
zhagnlu 7c633e9b9d
Support aliyun OSS for chunk manager (#22663) (#22842)
Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
2023-03-20 14:45:57 +08:00
yah01 3202eb0d9f
Optimize rounding distances, avoid promoting to double (#22846)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-20 14:09:56 +08:00
xige-16 9aa99aedbb
[Cherry-Pick] Remove arrow uasge in FieldData (#22726)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2023-03-20 10:41:56 +08:00
aoiasd b8b7d1f47e
CreateIndex should wait all segments which has data insert before CreateIndex finish (#22561)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-03-20 10:21:56 +08:00
yah01 005d178a0e
Optimize performance of insert & query & search (#22829)
- Reduce 1x copy of inserting int8/int16 into growing segment
- Reduce 1x copy of retrieving primary keys
- Reduce 1x copy of inserting/loading/deleting/filtering primary keys
- Reduce 1x copy of reducing string results

Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-20 10:19:56 +08:00
yah01 20974711a1
Optimize range search for nq > 1 (#22831)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-20 10:17:56 +08:00
yah01 65c58b3e41
Optimize performance of querying on InsertRecord (#22838)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-20 10:13:56 +08:00
MrPresent-Han 77c9e33e70
support dml channel balancer on datacoord (#22324) (#22377) (#22692)
Signed-off-by: MrPresent-Han <jamesharden11122@gmail.com>
2023-03-20 10:01:56 +08:00
wei liu 5f571ea915
remove debug log (#22828)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-03-17 18:05:56 +08:00
yah01 99f31dc37a
Fix data after travel timestamp is still visible (#22813)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-17 18:03:55 +08:00
Jiquan Long dff15c3488
Check dimension of inserted records (#22819)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-03-17 17:33:58 +08:00
SimFG 4a90490a67
Fix the `segment not found` error (#22772)
Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-03-17 17:27:56 +08:00
wei liu 6b5dfa6db2
deprecate shard cache immediately if query failed (#22779)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-03-17 16:25:55 +08:00
presburger 5841a3707b
suppport for raft gpu (#22790)
Signed-off-by: Yusheng.Ma <Yusheng.Ma@zilliz.com>
2023-03-17 11:59:54 +08:00
congqixia a085af931d
Fix metrics info panic when network error happens (#22802) (#22809)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-17 11:55:54 +08:00
yah01 ab1ac69712
Fix inserting into growing segment copies data (#22792)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-16 20:11:55 +08:00
Jiquan Long 8139106b51
Feat: count entities by expression (#22765)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-03-16 19:31:55 +08:00
yah01 3d8f0156c7
Refine scheduler & executor of QueryCoord (#22761)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-16 17:43:55 +08:00
wei liu bb5088e605
fix unassign from rg (#22747)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-03-16 14:27:55 +08:00
wei liu 69cc68caff
support first or random strategy (#22766)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-03-16 14:25:55 +08:00
zhenshan.cao ecde42a493
Fix proxy's pchan statistic min ts out of order (#22757)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2023-03-15 11:17:55 +08:00
Cai Yudong ab3cbdfc61
Partial change to prepare for GPU index type support (#22591)
Signed-off-by: Yudong Cai <yudong.cai@zilliz.com>
2023-03-14 23:21:56 +08:00
SimFG b57e476089
Fix the nil point about the session (#22748)
Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-03-14 20:07:54 +08:00
congqixia 59989e2806
Fix rmq client unit test may panic (#22759)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-14 19:15:54 +08:00
smellthemoon 8799b06dbc
Fix the data is disappeared when upsert (#22762)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-03-14 19:11:54 +08:00
yah01 21ba8182ee
Refine task create errors (#22745)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-14 18:51:53 +08:00
huanghaoyuanhhy 024beddfe6
Make GCS OAuth token thread-safe (#22714)
Signed-off-by: huanghaoyuan <haoyuan.huang@zilliz.com>
2023-03-14 18:09:54 +08:00
congqixia 732986aa04
Remove fmt.Print from internal package (#22722)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-14 17:36:05 +08:00
aoiasd 6959332b08
Fix unittest start channel event but not close (#22662)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-03-14 17:05:54 +08:00
MrPresent-Han 89618b7e12
fix wrong sequence of timetick stats on proxy #21855 (#22685)
Signed-off-by: MrPresent-Han <jamesharden11122@gmail.com>
2023-03-14 15:43:54 +08:00
groot 6f6bd98c27
Verify vector float data for bulkinsert and insert (#22728)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2023-03-14 14:03:58 +08:00
Jiquan Long 556c1cfc8a
Fix confused timetick log (#22733)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-03-14 09:55:54 +08:00
Enwei Jiao d5ef0448f2
Remove annoying logs when config file not found (#22717)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-03-13 18:20:02 +08:00
yah01 fa2c1c1f40
Fix RootCoord double updates TSO (#22715)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-13 18:01:53 +08:00
yah01 a4031da634
Refine string parameters, avoid coping or deref (#22708)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-13 17:53:53 +08:00
yah01 8f3d6e08df
Optimize the performance of matching prefix for string index (#22712)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-13 17:31:53 +08:00
yah01 e1cb307690
Refine RootCoord services error handle (#22689)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-13 14:29:53 +08:00
yah01 be33911205
Refine RBAC init error handle (#22537)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-13 10:59:53 +08:00
yah01 7bc3309918
Replace NULL with nullptr (#22701)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-13 10:35:52 +08:00
congqixia af6f0d5aa5
Make merr.Error(status) read old error code (#22698)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-10 22:37:53 +08:00
yah01 1a4732bb19
Use new errors to handle load failures cache (#22672)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-10 17:15:54 +08:00
yah01 c626b9000b
Output log if mmap enabled (#22684)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-10 15:51:52 +08:00
wayblink 28390dfe09
Add bulkinsert integration test (#22621)
Signed-off-by: wayblink <anyang.wang@zilliz.com>
2023-03-10 11:03:52 +08:00
congqixia 3ffa6d5302
Mark cache deprecated instead of removing it (#22674)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-10 10:19:53 +08:00
Jiquan Long a36fefb009
Fix cpplint (#22657)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-03-10 09:47:54 +08:00
yah01 e581fef115
Use the request's context to allocate ts (#22633)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-09 18:51:52 +08:00
yah01 e4120d1671
Upgrade proto to add error code field of Status (#22656)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-09 18:49:51 +08:00
congqixia d9908ff231
Fix TestMetaCache_ExpireShardLeaderCache unit test (#22651)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-09 18:25:52 +08:00
shaoyue 32581e6452
Support aliyun oss as object storage with ak or IAM (#22376)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2023-03-09 16:33:52 +08:00
congqixia 9e17e2660e
Fix lifetime race in indexnode (#22645)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-09 16:19:52 +08:00
yah01 90a5aa6265
Refine errors, re-define error codes (#22501)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-09 15:47:52 +08:00
bigsheeper f994052099
Reduce printing frequency of rate limit log (#22636)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2023-03-09 14:15:55 +08:00
wayblink aa6212d5b0
[Cherry-pick] Fix channel checkpoint issues and fix GC (#22559)
Signed-off-by: wayblink <anyang.wang@zilliz.com>
Co-authored-by: Ten Thousand Leaves <69466447+soothing-rain@users.noreply.github.com>
2023-03-09 14:13:52 +08:00
XuanYang-cn b3287ca5ec
Fix the misleading log messages (#22606)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2023-03-09 10:39:51 +08:00
wei liu 11f1f4226a
support replica observer assign node (#22604)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-03-08 18:57:51 +08:00
yah01 efdc77bce6
Fix not fill timestamp when use collection created ts (#22629)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-08 18:53:51 +08:00
wei liu 1a1a5caafa
update shard leader cache periodically (#22595)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-03-08 15:13:51 +08:00
Enwei Jiao f1ec78d3c1
Ignore connection error when closing pulsar consumer (#22607)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-03-08 14:57:51 +08:00
XuanYang-cn 955bc06165
Fix search binary pagination failure (#22477)
See also: #22168

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2023-03-08 11:03:51 +08:00
Jiquan Long e3c11069eb
Fix ddl tt go back (#22617)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-03-08 10:13:51 +08:00
Enwei Jiao f1a60b295c
Support multi yaml files (#22583)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-03-07 18:23:51 +08:00
congqixia f3e2d4a39a
Fix querynode stop meet unexpected GetComponentStates (#22590)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-07 09:51:50 +08:00
smellthemoon 29b3690c83
Upsert raise error (#22533)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-03-06 14:29:51 +08:00
smellthemoon c196c55381
Improve the assert information (#22578)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-03-06 14:25:50 +08:00
yah01 d4fccdd135
Add reason for spawning task (#22549)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-06 10:13:50 +08:00
jaime d126f06946
Decouple mq module from internal proto definition (#22536)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-03-04 23:21:50 +08:00
Enwei Jiao b21395f487
Forbid dmlChannelNum auto refresh (#22550)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-03-03 15:21:48 +08:00
smellthemoon 0dae20c938
Layer range search results (#22539)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-03-03 15:19:48 +08:00
congqixia ea4ab9e4a4
Replace ErrorList with multiErrors (#22532)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-03 14:59:49 +08:00
yah01 319f1773af
Fix segment not found if forward delete to empty segment (#22528)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-03 14:13:49 +08:00
Gao aa19243c22
Fix diskann param parse bug (#22498)
Signed-off-by: chasingegg <chao.gao@zilliz.com>
2023-03-02 19:59:50 +08:00
congqixia 51cb8590a1
Use errors.Wrap and Combine so retry error could check `errors.Is` (#22520)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-02 17:25:48 +08:00
yah01 bdd6bc7695
Re-format cpp code (#22513)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-02 15:55:49 +08:00
congqixia fa86de530d
Restrain gc files by collection (#22504)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-02 11:49:47 +08:00
yah01 4d4bf99098
Fix DiskANN can't recovery after querynode reboots (#22488)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-02 10:17:48 +08:00
yah01 1ee10f3224
Refine the information while assertion failed (#22434)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-02 09:07:48 +08:00
Ten Thousand Leaves 74d158e149
Fix enableAutoCompaction default value (#22254)
/kind bug

issue: #22253

Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2023-03-02 07:21:48 +08:00
cai.zhang 5cae49e28d
Store index files in slices to reduce memory peaks (#22369) (#22455)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-03-01 19:43:47 +08:00
yah01 7478e44911
Support using mmap to load data (#22052)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-03-01 18:07:49 +08:00
congqixia fa5c33975e
Fix reset connection data race (#22483)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-03-01 11:21:47 +08:00
wei liu c162c6ecc0
fix assign node err (#22479)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-03-01 11:11:47 +08:00
yah01 21eea923cc
Add util to combine multiple errors so everyone checkable (#22473)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-28 19:35:47 +08:00
yah01 60cd548bf5
Rename concurrency package to conc (#22453)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-28 14:19:47 +08:00
congqixia 608615e5bd
Add background health check if ctx err returned (#22439)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-02-28 14:11:47 +08:00
Xiaofan 256aaa1944
Change Etcd session timeout to 20s (#22401)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-02-28 11:13:47 +08:00
Xiaofan fa101e9751
Change RockMQ page size to 256MB (#22432)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-02-28 10:45:47 +08:00
cai.zhang eefa29a5e8
Fix bug for get index state (#22396)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-02-28 10:29:50 +08:00
yah01 1779d25e9c
Fix ignoring error while subscribing channel (#22429)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-28 08:17:49 +08:00
wei liu d433e95ce0
fix transfer node meta err (#22420)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-27 19:29:47 +08:00
yah01 167581c08a
Refine Pool to improve the ease of use (#22412)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-27 18:07:48 +08:00
wayblink 416866e42f
Add memory usage too large sync policy (#22244)
Signed-off-by: wayblink <anyang.wang@zilliz.com>
2023-02-27 17:47:51 +08:00
smellthemoon 8d05874ff9
Fix get index mode error (#22364)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-02-27 14:45:47 +08:00
aoiasd 872721e3ec
Refactor invalid unit test (#22347)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-02-27 14:27:47 +08:00
yah01 b758c305a7
Make Future generic (#22411)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-27 12:07:47 +08:00
Xiaofan 3d6bded115
Fix Row Number Mismatch (#22307)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-02-27 10:41:46 +08:00
Enwei Jiao 697dedac7e
Use cockroachdb/errors to replace other error pkg (#22390)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-02-26 11:31:49 +08:00
smellthemoon cf999b68dd
Fix range search can not get status from knowhere (#22384)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-02-24 17:59:45 +08:00
zhenshan.cao e768437681
Correct usage of Timer and Ticker (#22228)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2023-02-23 18:59:45 +08:00
SimFG bddda5bdb2
Only print the file content when log the hook.yaml (#22361)
Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-02-23 15:33:45 +08:00
smellthemoon 820d0bc060
Fix range search error (#22352)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-02-23 14:21:46 +08:00
wei liu a9a263d5a8
fix assign node to replica in nodeUp (#22323)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-23 14:15:45 +08:00
Enwei Jiao 0851e05014
Gernate milvus.yaml by code (#22003)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-02-23 11:37:46 +08:00
yah01 3e9d497157
Avoid allocating a zero-bytes vector each search time (#22219)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-23 10:37:46 +08:00
SimFG 7e19a924b7
Add the rbac for the GetLoadingProgress and GetLoadState api (#22320)
Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-02-22 20:37:45 +08:00
aoiasd cc5d72a9f2
add search option to ignore ignore segment (#21994)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-02-22 17:31:46 +08:00
smellthemoon 7a4dfcc72b
Add status error output (#22325)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-02-22 15:51:44 +08:00
Jiquan Long 3cb9a44ed8
Add license to rootcoord module (#22301)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-02-22 11:37:45 +08:00
aoiasd 27b456dd46
Fix data race of data node test (#22221)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-02-22 10:28:26 +08:00
wei liu c3e8ad3629
fix balance generate reduce task (#22236)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-21 19:06:27 +08:00
congqixia abbf1efa0e
[Cherry-Pick] Fix read wrong variable caused nil error (#22297)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-02-21 18:38:26 +08:00
yah01 6f374fa19d
Fix fetching nodeID through session before init it (#22290)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-21 18:08:27 +08:00
Cai Yudong d4e0b6e91b
Remove unused index param check (#22271)
Signed-off-by: Yudong Cai <yudong.cai@zilliz.com>
2023-02-21 17:36:26 +08:00
jaime 5936723904
Refine Read method of MinioChunkManager (#22235)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-02-21 16:22:26 +08:00
wei liu 0ce70b4f10
fix compact task data race (#22299)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-21 16:10:26 +08:00
wayblink b7c0d12d82
Skip file with prefix '.' may exist in filesystem (#22138)
Signed-off-by: wayblink <anyang.wang@zilliz.com>
2023-02-21 10:54:29 +08:00
smellthemoon 9e0ec15436
Support range search (#21652)
Signed-off-by: smellthemoon <xinguo.li@zilliz.com>
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: jaime <yun.zhang@zilliz.com>
2023-02-21 09:48:32 +08:00
Enwei Jiao 0a9a9058b9
Fix UT timeout (#22261)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-02-20 21:14:25 +08:00
Bennu ac6e879811
[skip e2e] fix etcd image for healthcheck (#22294)
Signed-off-by: Bennu-Li <yunmei.li@zilliz.com>
2023-02-20 17:08:25 +08:00
Enwei Jiao b25b3ef431
Integreation with Velox (#22102)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-02-16 17:26:35 +08:00
yah01 187788059b
Fix double copy varchar field while loading (#22114)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-16 17:16:35 +08:00
congqixia fef12b53ef
Fix 2.2.2 possible broken channel cp (#22205)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-02-16 16:46:35 +08:00
aoiasd 9167773eff
Remove needless kv at dataSyncService (#22206)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-02-16 16:36:39 +08:00
Jiquan Long d9ca06eb4e
Fix max partition number don't work (#22216)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-02-16 16:34:38 +08:00
wei liu 13b508103e
refine mock querycoord (#22198)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-16 15:38:34 +08:00
bigsheeper f4e7b246f2
Fix msgdispatcher concurrency issue and add prometheus metrics (#22174)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2023-02-16 14:58:34 +08:00
xige-16 8ec5ba13dc
Fix search failed on disk index when search_list equal to limit (#21113)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2023-02-16 11:02:34 +08:00
wei liu 87a4ddc7e2
fix rg e2e (#22187)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-16 10:48:34 +08:00
congqixia 9346f1752a
Convert msg pchannel to vchannel before check IsCloseMsg (#22182)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-02-15 17:26:34 +08:00
congqixia f2575e5fa8
Add unconvert & durationcheck linters and fix issues (#22161)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-02-15 17:22:34 +08:00
aoiasd 148a024e05
Add tickle for datacoord watch event (#21193)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-02-15 16:20:34 +08:00
aoiasd 1894766235
Update datacoord compaction plan after datanode update plan to ensure consistency (#22143)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-02-15 16:00:33 +08:00
smellthemoon e20d79a8a1
Fix data race (#22171)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-02-15 15:40:33 +08:00
Cai Yudong 68f146d5df
Show knowhere version when system up (#22172)
Signed-off-by: Yudong Cai <yudong.cai@zilliz.com>
2023-02-14 19:04:34 +08:00
wayblink 77a27c6dfc
Support print log to file and console at the same time (#21946)
Signed-off-by: wayblink <anyang.wang@zilliz.com>
2023-02-14 16:56:34 +08:00
wei liu 7b4511b8f4
fix transfer node (#22120)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-14 16:16:34 +08:00
SimFG c2a49d5a0b
Add error log and metrics for the hook and privilege interceptor (#22111) (#22137)
Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-02-13 16:50:33 +08:00
bigsheeper d2667064bb
Add msgDispatcher to support sharing msgs for different vChannel (#21917)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2023-02-13 16:38:33 +08:00
jaime a2435cfc4f
[Cherry-Pick]Add a segment metrics for count number of binlog files (#22103)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-02-13 10:24:33 +08:00
cai.zhang 511265c68c
Modify lastSyncTime in advance to prevent multiple flush binlogs (#22048) (#22088)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-02-12 18:56:33 +08:00
Xiaofan 6004867853
Add bucket name in error message (#21887)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-02-10 17:44:31 +08:00
cai.zhang 66b3566ac1
Update component state to healthy after start (#22118)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-02-10 17:40:32 +08:00
presburger 9950cacd10
support knowhere 2.0 (#21857)
Signed-off-by: Yusheng.Ma <Yusheng.Ma@zilliz.com>
2023-02-10 14:24:32 +08:00
XuanYang-cn 2b982b5d8f
Fix DataNode ut never meet condition (#22093)
See also: #22079

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2023-02-10 11:04:32 +08:00
wei liu d078441522
support rg api rbac (#22097)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-10 10:54:33 +08:00
Xiaofan d3f8948c17
Fix embedded milvus (#22077)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-02-09 22:06:32 +08:00
liliu-z 915503de0b
Upgrade knowhere to 1.3.8 (#22087)
Signed-off-by: Li Liu <li.liu@zilliz.com>
2023-02-09 18:58:32 +08:00
wei liu e9684ddb5a
refine rg capacity behavior (#22089)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-09 18:46:31 +08:00
wei liu d085abbd56
fix load collection with rg (#22083)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-09 16:24:31 +08:00
yah01 b1f31da77a
Fix activate standby server ignores all errors (#22073)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-09 15:24:31 +08:00
Enwei Jiao 44154a828c
Forbid updating some configs (#22047)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-02-09 14:28:31 +08:00
Gao 120164b0a2
Remove unnecessary plan deserialization (#22056)
Signed-off-by: chasingegg <chao.gao@zilliz.com>
2023-02-08 19:40:31 +08:00
wei liu 137e620a8c
fix search failed msg (#22036)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-08 15:44:31 +08:00
groot c21e11eb8a
Fix datanode crash bug for bulkinsert (#22041)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2023-02-08 14:06:31 +08:00
congqixia 81fbb885eb
Remove redundant optimization code (#22044)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-02-07 20:12:30 +08:00
wei liu 6fb60629be
fix describe rg api (#21998)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-07 19:30:31 +08:00
congqixia 7adabe09f1
Fix Alloc timstamp failure blocks compaction queue forever (#22039)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-02-07 19:02:31 +08:00
wei liu aced41d5d8
add resource group name rule (#21992)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-07 17:52:31 +08:00
Cai Yudong fc1d2d18cf
Optimize knowhere CMakeLists.txt (#22000)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2023-02-07 16:12:04 +08:00
Jiquan Long a548ce1cf1
Change default max shards num to 64 (#22016)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-02-07 14:43:57 +08:00
yah01 5abb8a0853
Improve search task merge policy (#22006)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-07 14:27:54 +08:00
XuanYang-cn a8db19fbdb
Fix ut multi-remove the timer (#22021)
See also: #22019

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2023-02-07 14:15:54 +08:00
Jiquan Long 004a8c25ca
Remove hardcode max shards num (#22004)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-02-07 10:17:53 +08:00
jaime baa035885d
Modify default value of some configurations (#22013)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-02-07 10:05:56 +08:00
smellthemoon ffdb652911
Fix kafka ut (#21943)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-02-06 16:33:54 +08:00
Bingyi Sun 4005508880
Fix load collection blocks when memory is limited. (#21990)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
Co-authored-by: sunby <bingyi.sun@zilliz.com>
2023-02-06 16:07:53 +08:00
wei liu 5da6aade02
fix default capacity of default rg (#21965)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-02-06 15:55:56 +08:00
congqixia 73b6c13245
Expand singleflight to Get and make writeEvent sync (#21993)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-02-06 15:27:54 +08:00
yah01 73ce87dfe5
Fix reduce decreasing recall (#21981)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-06 11:23:53 +08:00
cai.zhang e25f987a5c
Fix bug that calculated an extra DataNode of register policy (#21927)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-02-06 10:33:54 +08:00
cai.zhang ae305a54bd
Set scheduler duration of index task can be configurable (#21944)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-02-05 17:21:53 +08:00
Ten Thousand Leaves f9495fef00
Minor fix on segment metric (#21976)
/kind improvement

Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2023-02-03 19:33:52 +08:00
zhenshan.cao 5316743a00
Reduce memory usage of scalar index (#21970)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2023-02-03 19:01:53 +08:00
Enwei Jiao 6d05f102c1
Upgrade boost to 1.81 (#21954)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-02-03 17:21:53 +08:00
jaime 748a935a11
Modify segment seal policy with number of statslog files (#21957)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-02-03 17:07:52 +08:00
congqixia 787ce7c121
Add Rated group for checkpoint gc skip case (#21949)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-02-03 14:23:56 +08:00
Ten Thousand Leaves 74e3cc64fb
Add refresh path to proxy (#21933)
/kind improvement

Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2023-02-02 19:29:51 +08:00
wayblink d41cc0b21b
Revoke session to only delete session key created by this node (#21935)
Signed-off-by: wayblink <anyang.wang@zilliz.com>
2023-02-02 16:37:52 +08:00
wayblink 88293b8b79
Add log to analysis when etcd txn operation failed (#21558)
Signed-off-by: wayblink <anyang.wang@zilliz.com>
2023-02-02 15:57:51 +08:00
aoiasd 6a6818ac32
Fix rocksmq retention test is not stable (#21925)
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-02-02 14:09:51 +08:00
Xiaofan 2213ed7bed
Fix bulkload segment can not be flushed (#21919)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-02-02 13:11:51 +08:00
yah01 bdcff5b921
Avoid counting all bits to improve query performance (#21909)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-01 18:49:51 +08:00
yah01 9b491858a5
Fix datanode unit test not stable (#21911)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-02-01 18:19:50 +08:00
Enwei Jiao 53ae40b8c6
Make ratelimiter's config refreshable (#21757)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-02-01 16:03:51 +08:00
Bingyi Sun b12740e108
Remove a goroutine when creating a proxy client (#21904)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
Co-authored-by: sunby <bingyi.sun@zilliz.com>
2023-02-01 15:49:50 +08:00
Cai Yudong e3d1624e97
Handle distance Inf correctly (#21828)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2023-02-01 14:59:51 +08:00
congqixia ec282b1958
Apply lifetime control for indexnode (#21892)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-31 18:37:50 +08:00
congqixia 01e59f8ec2
Fix master semver value (#21873)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-31 17:41:50 +08:00
wayblink 45ff568470
Fix probable ut fail caused by session key confict (#21883)
Signed-off-by: wayblink <anyang.wang@zilliz.com>
2023-01-31 17:39:49 +08:00
congqixia 11a3d0a50b
Use embed ETCD for datacoord unit test (#21890)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-31 14:47:49 +08:00
yah01 61c2f29ab3
Fix miss to throw exception when failed to create dir (#21886)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-01-31 13:49:50 +08:00
congqixia d329cf33a0
Use embed etcd for ConnectManager unit test (#21884)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-31 13:35:49 +08:00
Xiaofan f1daef22a1
Fix failed bulkload segment marked as sealed (#21799)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-01-31 12:41:53 +08:00
cai.zhang a04238c25f
Keep the configuration of indexCoord (#21879)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-01-31 12:07:50 +08:00
congqixia 8af2aebb66
Fix msg channel prefix config priority for backward compatibility (#21871)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-31 10:09:51 +08:00
Jiquan Long 270c5b0502
Refine log when initialize dml channels (#21863)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-01-30 14:05:54 +08:00
jaime 5ed6ae2f27
Remove repeated etcd endpoint configuration (#21860)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-01-30 12:07:48 +08:00
jaime e14f96a8e4
[skip e2e]Fix missed logger with information (#21859)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-01-30 11:51:49 +08:00
cai.zhang bcae97b125
Register after start to prevent there are tow coordinator at the same time (#21641) (#21707)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-01-30 11:11:50 +08:00
smellthemoon bb086f47e4
Swap execution flow order in enqueue (#21845)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-01-30 10:27:50 +08:00
wei liu 73c44d4b29
resource group impl (#21609)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-01-30 10:19:48 +08:00
congqixia 66027790a2
Implement detailed lifetime control for querynode (#21851)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-29 17:45:49 +08:00
yah01 43d633cfed
Fix fill the string field twice when string index exists (#21852)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-01-29 17:43:48 +08:00
congqixia 0480719e1a
Fix useasan format not correct (#21829)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-28 11:43:47 +08:00
Xiaofan 949d5d078f
Fix memory calculation in dataCodec (#21800)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-01-28 11:09:52 +08:00
jaime d7bb908148
Fix rename collection data race (#21827)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-01-24 10:01:46 +08:00
Xiaofan 9258f7059d
Fix Bulkload ut print too much result (#21821)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-01-19 21:31:44 +08:00
congqixia 54ec22e879
Allow empty AK/SK for minio cfg (#21815)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-19 15:49:44 +08:00
congqixia 5986106037
Make paramtable init only once (#21782)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-19 14:53:44 +08:00
jaime 1dcd9eeb79
Support rename collection (#21693)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-01-19 14:13:43 +08:00
Bingyi Sun c82b5d15b6
Add unsubscribe dmchannel task (#21513)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
Co-authored-by: sunby <bingyi.sun@zilliz.com>
2023-01-18 17:45:44 +08:00
Bingyi Sun b0b0929c6c
Change CreateAt to UpdatedAt when checking timeout (#21769)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
Co-authored-by: sunby <bingyi.sun@zilliz.com>
2023-01-18 17:29:43 +08:00
Ten Thousand Leaves defb7660c8
Add refresh option for LoadCollection/LoadPartitions interfaces (#21776)
/kind improvement

Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2023-01-18 16:41:44 +08:00
Enwei Jiao cecd59d940
Disable time-travel by default (#21775)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-01-18 13:57:43 +08:00
Xiaofan 3e21d25de5
Add slow gc warning log (#21734)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-01-18 11:41:43 +08:00
groot 0af53d1e2e
Fix bulkinsert report bug (#21778)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2023-01-18 10:33:43 +08:00
yah01 78fd1987eb
Fix data race caused by no clone while updating index (#21772)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-01-17 18:11:42 +08:00
smellthemoon ad6cbc990f
Combine similar function (#21752)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-01-17 17:53:42 +08:00
Bingyi Sun b91bb5a729
Fix load timeout after next target updates (#21759)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
Co-authored-by: sunby <bingyi.sun@zilliz.com>
2023-01-17 15:15:46 +08:00
presburger e64f55cd27
downgrade curl for compiled on aarch64 platform (#21739)
Signed-off-by: Yusheng.Ma <Yusheng.Ma@zilliz.com>
2023-01-17 14:53:42 +08:00
wayblink de584b508e
Fix active-standby switch fail bug (#21755)
Signed-off-by: wayblink <anyang.wang@zilliz.com>
2023-01-17 11:43:43 +08:00
yah01 c8f89907b6
Fix current target may be updated to an invalid target (#21742)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-01-17 11:41:51 +08:00
jaime 81326ca0a1
[skip e2e]Fix cpp lint errors (#21750)
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-01-17 09:43:42 +08:00
yah01 6e66c10114
Fix check time tick lag with no channel (#21737)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-01-16 18:49:43 +08:00
Xiaofan e7f947ed0a
Check ScalarIndex deserialization (#21724)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-01-16 17:29:43 +08:00
yah01 836773f1a0
Optimize performance of reducing segments (#21722)
- Improve the performance of reducing from O(knlogn) to O(nlogk)

Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-01-16 15:25:42 +08:00
congqixia 5f3d3dc4fc
generate-mockery for querycoordv2, querynode and rootcoort (#21714)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-16 13:59:42 +08:00
yah01 837e3162d7
Fix ready notifiers leak when collection released (#21712)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-01-14 21:55:41 +08:00
yah01 32fb409e57
Fix may update the current target to an unavailable target when node down (#21698)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-01-13 17:11:41 +08:00
yah01 c66ce4aeba
Add warning comments (#21697)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-01-13 16:43:41 +08:00
groot c0e7a122d4
Fix bulkinsert progress bug (#21680)
Signed-off-by: groot <yihua.mo@zilliz.com>
2023-01-13 16:25:40 +08:00
Enwei Jiao 90d9e165d4
Fix some configs not shown (#21653)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-01-13 15:31:41 +08:00
smellthemoon 4620aebd46
Fix data race (#21706)
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-01-13 14:29:41 +08:00
congqixia 782f942b6f
Add MLogger.WithRateGroup for logger (#21703)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-13 14:11:40 +08:00
Enwei Jiao 564173dcbc
Upgrade protobuf to 3.21.9 (#21679)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-01-13 14:05:41 +08:00
yah01 f4d80b4211
Fix reading config from etcd may block forever (#21688)
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-01-13 11:29:41 +08:00
Xiaofan f8e1566b24
Support zstd compression in grpc (#21689)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-01-13 10:55:41 +08:00
congqixia 204db183f3
Prevent panicking when index segment info not exists (#21664)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-12 21:39:40 +08:00
wayblink 6a722396bd
Integration test framework (#21283)
Signed-off-by: wayblink <anyang.wang@zilliz.com>
2023-01-12 19:49:40 +08:00
Enwei Jiao 49f53003e9
upgrade libcurl to fix mac build failed (#21684)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-01-12 19:03:40 +08:00
wei liu c67070ab1f
add resource group interface (#21676)
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2023-01-12 18:31:41 +08:00
Enwei Jiao fb42466c65
Use opentelemetry (#21509)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-01-12 16:09:39 +08:00
Enwei Jiao 9fccbbb92b
Remove factory in querycoord (#21659)
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-01-12 15:59:39 +08:00
SimFG b307ee8c07
Make the rbac error message clearer (#21645)
Signed-off-by: SimFG <bang.fu@zilliz.com>
2023-01-12 13:55:42 +08:00
Xiaofan 8f202274a7
Fix lag behind error with 0 servicetime (#21637)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2023-01-12 10:53:39 +08:00
Jiquan Long d0b974de07
Make rootcoord client compatible with older version (#21651)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-01-12 10:09:39 +08:00
Jiquan Long 9fd9bed2b9
Remove collection meta after GC finished (#21595)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-01-12 09:55:42 +08:00
Jiquan Long 6d09bbed68
[skip e2e] Fix load meta migration (#21584)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-01-11 19:31:39 +08:00
Ten Thousand Leaves 8c2c04517e
Fix an issue where flushed segments can turn into sealed (#21566)
/kind improvement

Signed-off-by: Yuchen Gao <yuchen.gao@zilliz.com>
2023-01-11 18:57:43 +08:00
groot 9f8095996b
Report bulkinsert progress (#21612) (#21638)
Signed-off-by: groot <yihua.mo@zilliz.com>
2023-01-11 17:37:44 +08:00
cai.zhang f02ccfb422
Set GetIndexBuildProgress is compatible with SDK version 2.1 (#21622)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-01-11 16:59:42 +08:00
cai.zhang e127cf7b99
Reset indexpb for upgrade (#21620)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-01-11 14:35:40 +08:00
groot df0ffd08ce
Update segment id for import task (#21621)
Signed-off-by: groot <yihua.mo@zilliz.com>
2023-01-11 11:55:39 +08:00
liliu-z cc5ecabac6
Skip search GRPC call for standalon (#21383)
Signed-off-by: Li Liu <li.liu@zilliz.com>
2023-01-10 21:09:38 +08:00
bigsheeper 2146af1fb2
Return insufficient memory error when load failed (#21574)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2023-01-10 20:35:39 +08:00
congqixia c550427e81
Use singleflight in localCache.load (#21606)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-01-10 16:21:39 +08:00