Commit Graph

703 Commits

Author SHA1 Message Date
xige-16
7a7a73e89c Fix high memory usage in pulsarTtStream
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-23 11:40:12 +08:00
FluorineDog
15dd17488e Support benchmark
Signed-off-by: FluorineDog <guilin.gou@zilliz.com>
2021-02-23 10:47:21 +08:00
sunby
ea1d9ea99a Replace log in dataservice
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-23 09:58:06 +08:00
dragondriver
68518fec38 Fix memory leak in indexnode
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-22 18:33:40 +08:00
neza2017
f0c16a228e Fix show segments
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-22 16:40:26 +08:00
yukun
e786ad6aa8 Fix inconsistency of produce msg and consume msg with rmq
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-02-22 16:34:15 +08:00
sunby
b07a371f25 Create a goroutine to receive msg for every consumer
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-22 09:58:34 +08:00
xige-16
861576f77a Checkout field ids when load segment in query node
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-22 10:44:38 +08:00
BossZou
7ac1821cf1 Add RocksMQ throughout test
Signed-off-by: BossZou <yinghao.zou@zilliz.com>
2021-02-20 18:30:37 +08:00
BossZou
ae0e8b1a19 Init data service param before new DataServive
Signed-off-by: BossZou <yinghao.zou@zilliz.com>
2021-02-20 16:45:49 +08:00
cai.zhang
5c8747cf40 Make proxy retry time more frequently
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-02-20 16:14:10 +08:00
yukun
346b0a9549 Add unittest for RmqTtMsgStream
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-02-20 15:58:19 +08:00
neza2017
1d3fdebcf4 Add drop index for proxy
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-20 15:38:44 +08:00
cai.zhang
4c5a898e9a Add masterservice docker
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-02-20 11:15:19 +08:00
dragondriver
6ebb03791f Fix drop index interface
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-20 10:37:11 +08:00
zhenshan.cao
b3891ca199 Correct docker file
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-20 10:15:37 +08:00
xige-16
f62078c027 Fix crash error when search
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-20 10:14:03 +08:00
xige-16
a6442cb600 Fix querynode memory leak
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-20 09:20:51 +08:00
sunby
5769c000a1 Find failed python tests and add skip mark "r0.3-test"
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-19 15:37:04 +08:00
bigsheeper
d8f41db823 Fix search crash error
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-19 13:56:01 +08:00
sunby
5b61182140 Add zap log
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-18 19:53:55 +08:00
zhenshan.cao
d404d87633 Fix bug of getindexstate
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-19 09:52:06 +08:00
xige-16
450ea631bc Fix queryService assign queryChannel failure
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-18 16:26:02 +08:00
neza2017
549bda93ea Fix get index by name
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-18 15:58:59 +08:00
groot
af3736aff6 Fix rocksmq bug
Signed-off-by: groot <yihua.mo@zilliz.com>
2021-02-18 14:13:55 +08:00
neza2017
85c1404393 Refactor master:index ids
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-11 08:41:59 +08:00
xige-16
70fe5233cf Watch queryChannel on query node
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-09 17:09:26 +08:00
groot
833f1d49ab Let singlenode use rocksmq
Signed-off-by: groot <yihua.mo@zilliz.com>
2021-02-09 15:57:10 +08:00
neza2017
e2d8358cb4 Refactor master:index ids
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-09 13:11:55 +08:00
neza2017
c2956dbe92 Change master meta prefix
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-09 10:36:31 +08:00
zhenshan.cao
7901d98d5e Fix bug: return wrong IndexID 0
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-08 18:42:33 +08:00
sunby
c74221e4da Change ttMsgStream of dataservice to MsgStream
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-08 16:42:56 +08:00
neza2017
4035083188 Support Index name
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-08 14:49:12 +08:00
sunby
90d69658d9 Fix master meta table bugs
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-08 15:19:48 +08:00
groot
dc3736281a Integrate message stream
Signed-off-by: groot <yihua.mo@zilliz.com>
2021-02-08 14:30:54 +08:00
zhenshan.cao
faa23fde86 Fix getindexstate failed to fetch indexstate
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-08 14:20:29 +08:00
dragondriver
da94fbed0a Parse to map when the key of index params is named params
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-07 21:32:37 +08:00
bigsheeper
12b2eaf196 Rename apis
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-07 21:26:03 +08:00
zhenshan.cao
1ba8e2448f Add tsLoop for indexservice
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-07 18:38:58 +08:00
bigsheeper
a64c831ed9 Fix segment replacement bug
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-07 18:37:18 +08:00
bigsheeper
7342e0758c Fix index and flush errors, and fix master crash error
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-07 17:02:13 +08:00
zhenshan.cao
2c9e226703 Add log for segment logic in proxy
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-07 16:44:11 +08:00
xige-16
c7ac238aac Fix error when query node release collection
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-07 15:56:57 +08:00
xige-16
2ca53fa668 Fix msgstream deadlock when loadCollection
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-07 15:47:10 +08:00
yukun
563a8d66ae Add RmqTtMsgStream
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-02-07 15:10:13 +08:00
sunby
6ee6557981 Record segment flushed state
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-07 14:51:52 +08:00
sunby
eba5b9ae27 Fix queryservice client init bug
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-07 13:53:40 +08:00
bigsheeper
b07b2484dc Fix error when loading
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-07 10:29:58 +08:00
dragondriver
8f4995dab5 Fix DropCollection task in Proxy
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-07 09:56:39 +08:00
xige-16
cdcf006690 Fix loadCollection error when query service assign insert channels and query nodes
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-07 09:30:48 +08:00
zhenshan.cao
39161cac9a Add collectonScheam when calling load_collection and load_partition
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-06 21:17:18 +08:00
xige-16
a12b184e02 Add field schema to LoadCollection and LoadPartition photo
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-06 17:37:10 +08:00
bigsheeper
e685f1825b Fix unittest caused by param table
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-06 15:16:10 +08:00
groot
b034740c6c Make paramstable initialize once by using do_once
Signed-off-by: groot <yihua.mo@zilliz.com>
2021-02-06 13:39:15 +08:00
yukun
099220394e Add rmq_msgstream unittest and fix bugs
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-02-06 11:39:12 +08:00
bigsheeper
e9ee9a273e Refactor load service and check insertion binLog periodically
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-06 11:35:35 +08:00
sunby
0111cba8ae Fix startup bugs in some modules
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-06 10:28:53 +08:00
XuanYang-cn
dd72dfcbd1 Fix queryservice start
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-02-05 17:57:41 +08:00
godchen
c231f6da79 Fix collectionName not found error
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-02-05 16:32:03 +08:00
xige-16
57ba236117 Add mutex for message stream’s asConsumer
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-05 15:42:53 +08:00
dragondriver
7e1887da12 Add start.sh and stop.sh, remove them later
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-05 14:31:40 +08:00
bigsheeper
a7eae3a4c1 Remove consumer in query node's initialization
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-05 14:15:10 +08:00
dragondriver
e6aec3fd08 Hardcode the peer id of proxy node
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-05 14:09:55 +08:00
dragondriver
6ef82a59e5 Fix the bug when close the message stream of InsertTask
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-05 13:49:51 +08:00
godchen
0f620ab149 Fix invalidate metacache error
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-02-05 11:49:13 +08:00
dragondriver
e384222803 Fix the logic of node id allocator
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-05 11:25:52 +08:00
neza2017
bea1535425 Add call of release collection when drop collection
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-05 11:05:37 +08:00
bigsheeper
1578c13224 Refactor collection replica
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-05 10:53:11 +08:00
dragondriver
a48590a2df Add query service logic to Proxy
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-05 10:29:14 +08:00
bigsheeper
2ee54541aa Fix query node address
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-05 10:25:47 +08:00
sunby
9c3ea487f6 Fix close insert msg stream bug
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-05 10:19:52 +08:00
dragondriver
75e549da4e Change sdk version used in regression to 0.0.19
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-05 10:09:03 +08:00
XuanYang-cn
a64c4efde9 Refactor collectionReplica in datanode
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-02-04 20:31:23 +08:00
sunby
be596123d1 Fix dataservice startup
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-04 20:03:19 +08:00
godchen
c2ca2c276f Fix response check error
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-02-04 19:34:35 +08:00
cai.zhang
4f2a1e7912 Fix bug for dataservice dockerfile
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-02-04 18:11:19 +08:00
dragondriver
e0e8e1605e Implement the release-related task and load-related task in Proxy
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-04 17:47:19 +08:00
sunby
7270d18c98 Fix timesync startup bugs
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-04 17:31:02 +08:00
xige-16
aaac839075 Joint debug query service success with other components
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-02-04 17:09:18 +08:00
XuanYang-cn
560d2350ae Fix datanode watchDmChannel bug
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-02-04 16:09:34 +08:00
godchen
d6200a5196 Fix meta cache error
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-02-04 15:54:16 +08:00
cai.zhang
55634dc5f3 Add interface of load and release collection and partition
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-02-04 15:31:02 +08:00
yukun
e3fadc45d4 Fix for new msgstream interface
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-02-04 15:23:21 +08:00
zhenshan.cao
b89e5a3240 Add GetQuerySegmentInfo
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-04 14:37:12 +08:00
sunby
71b6c88c6e Defer lock's unlock in meta::DropSegment
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-04 11:52:10 +08:00
Xiangyu Wang
8d35e76ad1 Change Msgstream interface
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-02-04 13:55:47 +08:00
bigsheeper
c6c99ef32b Implement getSegmengInfo function
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-04 11:40:14 +08:00
XuanYang-cn
1aafe86ffe Change MsgPosition Logic
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-02-04 11:19:48 +08:00
dragondriver
b92ff69cea Implement GetIndexState in Proxy
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-04 11:08:36 +08:00
XuanYang-cn
bc7ad02df4 Fix datanode init bug
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-02-04 10:25:01 +08:00
godchen
6e7e0b748a Send timetick to insert channel
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-02-03 20:04:29 +08:00
sunby
e7588d3250 Implement getSegmentInfo interfaces
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-03 19:45:52 +08:00
neza2017
1189332786 Create default partition when create collection
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-03 18:41:20 +08:00
zhenshan.cao
1b616fb874 Add persistent_segmentinfo
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-03 18:55:00 +08:00
bigsheeper
f12a0490bb Do not drop collections or partitions in flow graph
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-03 18:12:48 +08:00
Xiangyu Wang
fd9e42d3ed Update msgstream/unmarshal interface
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-02-03 17:30:10 +08:00
bigsheeper
abffdbff62 Remove partition tag
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-03 16:44:38 +08:00
dragondriver
6c3f169ecc Add collection id and partition id to insert & search workflow
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-03 16:40:23 +08:00
zhenshan.cao
b853020ef9 Remove redudent ctx and openTracing logic
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-03 16:34:56 +08:00
yukun
35f6f4b7c2 Add consume in rmq_msgstream
Signed-off-by: yukun <kun.yu@zilliz.com>
2021-02-03 15:18:54 +08:00