Commit Graph

347 Commits

Author SHA1 Message Date
Cai Yudong
891c202b73
Use GlobalParamTable for all components (#13885)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-23 18:39:11 +08:00
zhenshan.cao
c5d91af794
Enable pprof service (#13979)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-12-23 11:39:10 +08:00
congqixia
1dcd06cc78
Add log file info for all kind of segment binlogs (#13606)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-19 20:00:42 +08:00
Bingyi Sun
37705dfbbb
Add module name to logger in proxy (#13580)
Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
2021-12-17 19:07:39 +08:00
Cai Yudong
78acb5fe5c
Update main to use role const (#13431)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-15 17:49:09 +08:00
Cai Yudong
024c1ac412
Let standalone share same LogCfg with distributed components (#13332)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-12-14 18:31:25 +08:00
dragondriver
78698a8918
Add log when healthz check return false (#13261)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-12-14 10:35:11 +08:00
jaime
b43b4e213f
[skip ci] Fix a grammar mistake in roles.go (#12604)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com>

Co-authored-by: yun.zhang <yun.zhang@zilliz.com>
2021-12-13 09:29:50 +08:00
congqixia
d68f7602e5
Standalone healthz check include proxy and coordinator state check (#12812)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-07 13:33:43 +08:00
Xiangyu Wang
936b1a7f8b
Remove unused codes (#12780)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-12-06 18:20:31 +08:00
yukun
764cf1a53e
Add rocksmq server close when standalone exit (#12255)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-12-02 10:27:32 +08:00
dragondriver
b6d0150dc5
Fix health check when disconnect to etcd (#12292)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-26 11:39:16 +08:00
dragondriver
6c4c0ef6b5
Add more deploy metrics (#12248)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-24 15:43:15 +08:00
XuanYang-cn
7dbb4d10e5
Fix DeltaLogs empty yet appending a deltaInfo bug (#11984)
- Add more logs for startpositions

Fixes: #11970

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-17 17:57:11 +08:00
dragondriver
cc0d6dc6fd
Fix runtime path created by multiple processes (#11966)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-17 17:47:12 +08:00
Xiangyu Wang
12f50cb22c
[skip ci]Update OWNERS files (#11898)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-11-16 15:41:11 +08:00
XuanYang-cn
9dcee0ae4d
Fix typo of ected to etcd (#11784)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-11-15 19:11:52 +08:00
congqixia
413aa42796
Add tool for datacoord segment meta (#11745)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-11-12 19:01:11 +08:00
Cai Yudong
124bd6c20a
Let param table init once (#11510)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-11-10 10:07:37 +08:00
dragondriver
4dd6051eb2
[skip ci] Fix golint warning of roles.go (#11024)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-11-01 22:35:18 +08:00
groot
fb71fd525a
[skip ci] Typo (#10823)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-10-28 18:02:30 +08:00
groot
bad79d9179
[skip ci] Add log (#10822)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-10-28 18:00:38 +08:00
dragondriver
807ccd0085
Register healthz router at once when component is created (#9722)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-12 19:25:44 +08:00
XuanYang-cn
307d6193d6
[skip ci]Update license in cmd/ (#9508)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-09 18:03:34 +08:00
dragondriver
30ecd3164f
[skip ci] Add desc comments for GetComponentStatesInterface (#9506)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-10-08 23:56:13 +08:00
Xiangyu Wang
81073c2f9d
[skip ci]Change name to account in OWNERS file (#9429)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-10-08 09:01:18 +08:00
Xiaofan
2c2b800ff4
Change Log Name with NodeId (#8721)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-10-01 08:52:50 +08:00
XuanYang-cn
c8f48f2e5b
[skip-ci]Fix golint in cmd/components (#8895)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-29 23:40:10 +08:00
XuanYang-cn
87b1d66d74
[skip-ci]Fix golint on cmd/components (#8896)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-29 23:20:11 +08:00
zhenshan.cao
d1d5f9e409
Replace proto.MarshalTextString with proto.Marshal (#8542)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-09-29 20:26:00 +08:00
XuanYang-cn
0e50fa2d31
[skip-ci]Fix golint in cmd/data_node.go (#8693)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-28 22:30:05 +08:00
XuanYang-cn
892991ee61
[skip-ci]Fix golint in cmd data_coord (#8692)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-27 19:09:58 +08:00
XuanYang-cn
b92f51bcfe
[skip-ci]Fix golint in cmd/index_node.go (#8694)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-09-27 19:04:08 +08:00
sunby
d5e674cb5c
Change fmt print to log print (#8308)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-09-22 19:48:07 +08:00
dragondriver
85a6953330
Support healthz check api (#8228)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-22 16:18:21 +08:00
Xiangyu Wang
77ef692390
Improve import statements in main.go (#8014)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-09-17 11:19:54 +08:00
dragondriver
960741ee16
Support more detailed metrics information (#7472)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-03 19:35:47 +08:00
Xiangyu Wang
c62f23e201
[skip ci]Remove neza2017 from reviewers (#7324)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-08-27 00:27:36 +08:00
sunby
4d56d53c0b
Add a tool to move binlog path to SegmentInfo (#7243)
issue: #7214
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-08-24 15:51:51 +08:00
yukun
847586eb95
Add rocksmq retention (#6617)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-08-16 18:46:10 +08:00
Xiangyu Wang
5e78fd6a97
[skip ci]Update approvers (#7063)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-08-12 19:36:09 +08:00
Cai Yudong
3524d87f9b
optimize stop process logic (#6256)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-07-01 18:13:48 +08:00
yukun
39614aa8eb
Add rocksmq_path in config and paramtable (#6099)
* Add rocksmq_path in config and paramtable

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Add rocksdbPath in NewRmsFactory

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Change rdb default path to /vat/lib/milvus/rdb_data

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-25 19:44:11 +08:00
dragondriver
fbaa847641
Add metrics for proxy (#5987)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-06-22 18:32:08 +08:00
xige-16
2af1c27811
Rename queryservice to querycoordinator (#5931)
* Rename queryservice to querycoordinator

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix param table

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* code format

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix unittest

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* service to coordinator

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* code format

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* set querycoord in ci

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-06-22 16:44:09 +08:00
sunby
d2c8462dac
Rename params in data_coord.yaml (#5968)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-06-22 16:18:21 +08:00
Cai Yudong
2926a78968
Rename proxynode to proxy (#5961)
* rename package name from proxynode to proxy

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* move distributed/proxynode to distributed/proxy

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* move internal/proxynode to internal/proxy

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename proxynode to proxy

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-22 14:40:07 +08:00
Cai Yudong
438e7fb4da
Print Milvus banner when start service (#5953)
* print Milvus banner when start service

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* update banner

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* update messages

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-22 11:34:04 +08:00
sunby
c863a193de
Rename filename from dataservice to datacoordinator (#5946)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-06-22 10:42:07 +08:00
Cai Yudong
92e429d812
Rename IndexService to IndexCoord (#5932)
* rename package indexservice to indexcoord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename indexservice to indexcoord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* fix queryservice static-check

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* move distributed/indexservice to distributed/indexcoord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* move internal/indexservice to internal/indexcoord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename indexservice to indexcoord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename MasterComponent to RootCoordComponent

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename master to rootcoord for queryservice

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename master to rootcoord for dataservice

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename master to rootcoord for datanode

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename master to rootcoord for proxynode

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename master to rootcoord for querynode

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename master to rootcoord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename IndexService to IndexCoord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename IndexService to IndexCoord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* fix rebase issue

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-21 17:28:03 +08:00
XuanYang-cn
ab7f642740
Add alias in paramtable (#5878)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-06-19 12:38:06 +08:00
Cai Yudong
5a1f7e4feb
rename masterservice to rootcoord (#5875)
* rename masterservice to rootcoord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* fix build error

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename service to coord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename package

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename masterservice to rootcoord under distributed

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* update scripts

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* enable more unittests

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-18 21:30:08 +08:00
bigsheeper
710ac1a4f1
remove query node id env dependency and fix start script (#5874)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-06-18 19:00:15 +08:00
congqixia
2f8bccda8d
Improve help message (#5870)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-06-18 16:16:06 +08:00
Cai Yudong
3b0951e3e6
Combine standalone binary into milvus (#5866)
* rename service to coord for cmd

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* update docs

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* update variable name

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* optimize roles.go

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* support milvus run standalone

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* remove cmd/standalone

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* fix static-check

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename proxynode to proxy

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename service to coord for compoments

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* add comments for codacy check

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* set helm chart branch

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-18 15:20:08 +08:00
Cai Yudong
ae3daff5e4
Rename Master to RootCoord (#5830)
* rename master_service.go to root_coordinator.go

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename service to coordinator under cmd

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename service to coord under cmd

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename service to coord for metrics

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* rename service to coord for masterservice

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* fix metrics unittest

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* roll back cmd

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-17 16:47:57 +08:00
congqixia
5ce06de3d1
Add context usage and fix defer issue (#5796)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-06-16 18:35:59 +08:00
neza2017
96cb24e566
fix session util (#5780)
Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2021-06-15 18:53:55 +08:00
cai.zhang
1d4ff7c8d7 Add waitgroup for starting server (#5705)
* Add waitgroup for starting server

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>

* [skip ci] Just for skip ci

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>
2021-06-15 16:39:01 +08:00
zhenshan.cao
f74ea3beee [skip ci] Remove ProxyService (#5738)
* [skip ci] Remove ProxyService

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>

* Change helm branch

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>

* Fix bug: paramstable crashed

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-06-15 16:36:35 +08:00
cai.zhang
f1bb02f724 Stop indexnode when milvus process stops (#5694)
Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>
2021-06-15 16:06:13 +08:00
Xiangyu Wang
ca0993c274 Update OWNERS
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-05-30 18:58:47 +08:00
Cai Yudong
dde74e2165
Support launch multiple services in one process (#5446)
Resolves: #5450 

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-05-27 14:02:58 +00:00
zwd1208
7d49096e8c
Add prometheus metrics (#5342)
Add prometheus metrics for components

Resolves: #5325

Signed-off-by: Weida Zhu <weida.zhu@zilliz.com>
2021-05-21 13:48:04 +00:00
Cai Yudong
5f0006d0f9
Improve code coverage for distributed/datanode (#5133)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-05-08 06:07:04 +00:00
quicksilver
136cd7a704
Run KinD Inside A Kubernetes Cluster For Continuous Integration (#5085)
**What type of PR is this?**

- [x] Improvement

**Which issue(s) this PR fixes:**

Fixes #5038

**What this PR does / why we need it:**

Run KinD Inside A Kubernetes Cluster For Continuous Integration
2021-04-29 08:45:17 +00:00
godchen
584051b2bf
Fix trace unavailable on distributed version (#5072)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-04-28 11:48:44 +08:00
XuanYang-cn
6ad2252f2d
Fix panic bug when server stop with alias (#5054)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-04-26 12:45:16 +00:00
Cai Yudong
4cec3924cc
rename all singlenode to standalone (#5051)
* rename all singlenode to standalone

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* update docker image name

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* fix merge conflict

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>

* Rename all singlenode to standalone (#1)

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>

Co-authored-by: quicksilver <zhifeng.zhang@zilliz.com>
2021-04-26 10:35:57 +00:00
quicksilver
3b529f3b5d
Update milvus project name (#5032)
* Update milvus project name
2021-04-26 13:59:28 +08:00
neza2017
0d68c3f2fd
fix flock, lock the pid file during the processing is running (#5037)
Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2021-04-26 01:28:23 +00:00
Xiangyu Wang
82ccd4cec0
Rename module (#4988)
* Rename module

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-04-22 14:45:57 +08:00
cai.zhang
9ccaff8005 Add copyright
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-04-19 19:28:11 +08:00
XuanYang-cn
6deba1faa5 Add license in datanode package
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-04-19 15:16:33 +08:00
bigsheeper
71b8f309b2 Add licence to query node and query service
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-04-19 13:47:10 +08:00
neza2017
83647e8503 Add copyright in master service module
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-04-19 11:12:56 +08:00
dragondriver
dc7db73251 Add copyright annotations to proxynode and proxyservice
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-04-19 10:09:43 +08:00
Cai Yudong
e4256a4400 Combine all service/node binaries into one binary with named 'milvus'
Signed-off-by: Cai Yudong <yudong.cai@zilliz.com>
2021-04-15 09:28:46 +08:00
neza2017
0a6b0f3bf7 Set runtime directory to /run/milvus-distribute, if failed, adjust to /tmp/milvus-distributed
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-04-14 13:54:11 +08:00
Xiangyu Wang
87a1e0b662 Reorganize msgstream
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-04-02 13:48:25 +08:00
zhenshan.cao
39ac47d16c Direct singlenode log to file
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-04-02 11:59:30 +08:00
Xiangyu Wang
72917467ec Change singlenode logs output
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-03-30 10:52:42 +08:00
cai.zhang
c4a58d259a Add deploy mode env variable
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-03-27 11:56:57 +08:00
neza2017
eca1e25470 Add msg id at master service
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-03-26 15:13:33 +08:00
zhenshan.cao
c2734fa55f Fix bug and enchance system
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-03-22 16:36:10 +08:00
Xiangyu Wang
fc6472eb08 Implement RocksMQ client
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-03-13 11:46:50 +08:00
cai.zhang
012f5f360e Add init log logic for index and proxy
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-03-12 19:47:37 +08:00
Xiangyu Wang
e5d595564a Add log for singlenode
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-03-05 18:16:50 +08:00
sunby
ddddd65d10 Delete internal/errors package
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-03-05 10:15:27 +08:00
bigsheeper
447a15207e Add zap log to query node
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-03-05 09:21:35 +08:00
sunby
dec0b40a66 Add log panic in log module
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-03-04 16:01:30 +08:00
bigsheeper
d3db2b0d82 Add zap log in query service
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-02-27 10:11:52 +08:00
XuanYang-cn
10374f15d7 Update log in datanode
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-02-26 10:13:36 +08:00
Xiangyu Wang
38266b8569 Lock channel at produce and consume
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-02-25 17:44:29 +08:00
neza2017
e396c3f4ad Add zap log
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-24 16:25:40 +08:00
XuanYang-cn
fd562f9f9c Update doc: add proxy graph
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-02-24 09:48:17 +08:00
zhenshan.cao
bbfcbbdd68 Fix ci: paramstable and startup logic refactor
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-02-23 11:40:30 +08:00
sunby
ea1d9ea99a Replace log in dataservice
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-23 09:58:06 +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
4c5a898e9a Add masterservice docker
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-02-20 11:15:19 +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
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
groot
dc3736281a Integrate message stream
Signed-off-by: groot <yihua.mo@zilliz.com>
2021-02-08 14:30:54 +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
neza2017
1cc994dea8 Refactor entry point
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-06 12:18:15 +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
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
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
groot
5658f779fe Refine singlenode
Signed-off-by: groot <yihua.mo@zilliz.com>
2021-02-04 18:57:21 +08:00
XuanYang-cn
90d471b133 Refactor main of queryservice and querynode
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-02-02 09:52:42 +08:00
neza2017
f6db55fab5 Add main
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-02-01 12:04:21 +08:00
sunby
675426ea07 Add proxyservice/proxynode/indexservice/indexnode wrapper
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-02-01 11:36:59 +08:00
neza2017
854accf95b Remove master and writenode
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-30 16:41:47 +08:00
XuanYang-cn
d5346e132a Refactor datanode main
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-01-30 16:22:28 +08:00
sunby
3a67dda06c Add NewDataService in main
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-01-30 11:49:48 +08:00
neza2017
ee378f3a93 Refactor masterservice main
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-29 18:34:12 +08:00
dragondriver
f660caca0c Refactor the client interface of proxy service
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-01-29 17:29:31 +08:00
Xiangyu Wang
99cef4b5c8 Add Distributed main entrypoint
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-01-29 17:08:31 +08:00
bigsheeper
73d2b6a101 Get index param from minio and filter by vector fields
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-01-29 15:22:24 +08:00
neza2017
bdf84f08ab Add watcher_test and fix some bugs
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-29 14:40:19 +08:00
sunby
f088467dde Add watcher_test and fix some bugs
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-01-28 10:14:31 +08:00
neza2017
305c814215 Fix master
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-26 19:37:25 +08:00
zhenshan.cao
ee0faddb07 Refactor proxy
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-01-29 09:27:26 +08:00
xige-16
947976dbec Add test for query service’s load function
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-01-27 11:34:16 +08:00
bigsheeper
4f914a2c30 Add docker file and main function of query node
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-01-27 09:50:52 +08:00
neza2017
4d37a329da Fix data service init
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-26 19:25:17 +08:00
neza2017
d1b23cb8c5 Add debug info
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-26 19:24:09 +08:00
sunby
f632ed0272 Fix data service init
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-01-26 18:45:12 +08:00
neza2017
c4f4ae8627 Fix master
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-26 17:47:38 +08:00
sunby
9f72633fd9 Add dd handler
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-01-26 17:06:13 +08:00
XuanYang-cn
0e6985b42c Add datanode DockerFile
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-01-26 16:56:36 +08:00
neza2017
2ea6a5f9ee Add make dataservice in Makefile
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-26 16:41:10 +08:00
sunby
b4997a37a2 Add make dataservice in Makefile
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-01-26 16:36:26 +08:00
neza2017
fd0227b69a Add logic of get time tick
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-26 15:23:42 +08:00
sunby
3b08162059 Add main function
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-01-26 15:14:49 +08:00
XuanYang-cn
b445587e11 Add datanode main
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-01-26 14:46:54 +08:00
cai.zhang
346bb1ba49 Delete some unused code and some debug logs
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-01-26 14:31:31 +08:00
dragondriver
c6a6b1436c Add soft time tick in proxy service
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-01-26 13:41:41 +08:00
cai.zhang
f940cc455a Add dockerfile for index
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-01-26 09:38:40 +08:00
neza2017
7f3aa92d10 Add docker file for masterservice
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-25 15:58:04 +08:00
bigsheeper
7554246ace Add segment seeking and use real client
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-01-25 18:33:10 +08:00
sunby
7c0c835b49 Init params and add segment start/end position
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-01-25 15:16:28 +08:00
XuanYang-cn
5015a1035d Add logic of get meta from MasterService for datanode
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2021-01-25 17:10:32 +08:00
neza2017
1fe099775d Refactor data service
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-25 15:17:17 +08:00
neza2017
e89e89b894 Add main for masterservice
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2021-01-25 12:03:44 +08:00