Commit Graph

107 Commits

Author SHA1 Message Date
Xiaofan
bd7d294c6d
Refine log level in data (#15821)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-03-02 15:35:55 +08:00
Cai Yudong
1f337891e1
Rename base_param to service_param, rename global_param to component_param (#15463)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-02-08 20:57:47 +08:00
Cai Yudong
f1ea9613ae
Add EtcdConfig and move PulsarConfig/RocksdbConfig/MinioConfig into BaseParamTable (#15434)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2022-02-07 10:09:45 +08:00
congqixia
e96a851c00
[skip e2e] Improve log in allocator/id.go (#14826)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2022-01-05 14:31:30 +08:00
godchen
88da7cb89d
[skip e2e]Sort imports (#14818)
Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
2022-01-05 14:21:58 +08:00
Xiaofan
69087ff8dd
Support embedded etcd (#14333)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-12-29 14:35:21 +08:00
godchen
65fec36715
[skip ci]Fix allocator comment typo (#13634)
Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
2021-12-21 09:18:48 +08:00
godchen
cb570a5a3a
[skip e2e]Fix allocator variable typo (#13632)
Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
2021-12-17 19:44:46 +08:00
xiangzhou.guo
4e2de564ce
modify 'Root Coord' to 'RootCoord' (#13492)
Signed-off-by: xiangzhou.guo <xiangzhou.guo@zilliz.com>
2021-12-16 20:25:28 +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
shaoyue
f8583bb582
[skip ci] Add comment for exported struct Allocator (#11795)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2021-11-15 19:18:14 +08:00
zhenshan.cao
84a538f4d6
[skip ci]Fix golint error in allocator (#11045)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-11-02 21:14:40 +08:00
godchen
6d54bb20a7
[skip ci]Fix allocator typo (#10878)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-29 13:02:08 +08:00
godchen
f7d6fce513
[skip ci]Fix id typo error (#10500)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-24 10:45:10 +08:00
godchen
3b8c17abf8
[skip ci]Fix global id typo error (#10499)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-23 16:55:44 +08:00
godchen
c1c3f47cc1
[skip ci]Fix allocator close comment typo (#10369)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-21 20:47:11 +08:00
godchen
f7a7f41706
[skip ci]Fix allocator init comment typo (#10370)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-21 19:46:13 +08:00
godchen
c1ae837231
[skip ci]Fix allocator reset comment typo (#10368)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-21 19:25:11 +08:00
godchen
3610fe89c0
[skip ci ]Fix allocator comments (#10276)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-20 20:30:37 +08:00
godchen
42a85f6d9d
[skip ci]Fix allocator typo error (#10275)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-20 15:48:38 +08:00
godchen
d9010e684b
[skip ci]Fix allocator typo (#10274)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-20 15:42:45 +08:00
zhenshan.cao
39f043b08a
[skip ci]Fix golint error in allocator (#10134)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-18 21:30:56 +08:00
zhenshan.cao
cfc9ba1e13
[skip ci]Fix golint error in allocator (#10130)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-18 21:29:00 +08:00
XuanYang-cn
83272a8b2d
[skip ci]Update license for global_id.go (#9897)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-14 19:27:11 +08:00
XuanYang-cn
268b4ff85d
[skip ci]Fix license of allocator.go (#9896)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-14 19:24:49 +08:00
XuanYang-cn
81f9c0b695
[skip ci]Update license for id.go (#9895)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-14 19:22:43 +08:00
godchen
edc8db2f5a
Make idCountPerRpc private (#8968)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-04 08:36:30 +08:00
zhenshan.cao
3848384c5a
[skip ci] Fix golint error in id.go (#9071)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-02 16:48:04 +08:00
godchen
5b90868e88
[skip ci]Fix allocator comment (#9030)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-01 22:20:18 +08:00
godchen
0b1d9b215b
[skip ci]Add allocator id comment (#8967)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-01 10:38:30 +08:00
godchen
b03d534cdf
[skip ci]Add global id comment (#8966)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-10-01 10:24:31 +08:00
Xiaofan
00a5c39c2f
Remove unnecessary variables in allocator (#7849)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-14 09:54:31 +08:00
godchen
8b1ae98fa9
Add id allocator ut (#7440)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-03 09:44:10 +08:00
XuanYang-cn
6c5be83ea1
Refactor NewEtcdKV API (#7075)
This PR mainly did the following 3 things:

- Refactor NewEtcdKV API
- Add unittests for `kv/etcd/`, raise the coverage
up to 94%
- Correct some APIs from version to revision

The old NewEtcdKV() API took `clientv3.Client` as
one of the input, making everyone who using this API
had to create a new `clientv3.Client`. So there're a lot
of repeated codes everywhere.

Meanwhile, someplace didn't even check whether the
`clientv3.New()` returned error or not, and the old API
also didn't check whether the clientv3.Client was Nil.
This caused issue#6955.

Ectd's version and revision have nothing alike, they
represent different concepts, but our APIs kind of
mixed them all up. So I correct those APIs' names.

Resolves: #6955

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-08-13 11:04:09 +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
neza2017
fac350cc58
fix tso (#6500)
Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2021-07-14 17:11:54 +08:00
godchen
3785bb6330
Change retry times (#6083)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-06-24 19:05:06 +08:00
dragondriver
1f524bdf3e
Fix id allocator (#6024)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-06-23 17:34:05 +08:00
godchen
99be4c09a5
change retry (#5996)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-06-23 09:24:10 +08:00
Cai Yudong
d5f4ee6f44
Rename proto master/index_service/proxy_service (#5973)
* rename proto proxy_service to proxy

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

* rename proto index_service to index_coord

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

* rename proto master to root_coord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-22 16:14:09 +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
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
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
Cai Yudong
0f4bd50ce3 Support ETCD endpoints array (#5755) 2021-06-15 16:36:36 +08:00
godchen
275881dbdb Remove address param (#5556)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-06-15 16:04:46 +08:00
Xiangyu Wang
ca0993c274 Update OWNERS
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-05-30 18:58:47 +08:00
neza2017
f80dbab6ec
watch proxynode (#5424)
watch proxy node and,
send InvalidataCollectionMetaCache to each proxynode

Signed-off-by: yefu.chen <yefu.chen@zilliz.com>

Resolves: #5423
2021-05-26 12:14:30 +00:00
neza2017
e326eaad1e
master client,reconnect if grpc failed (#5360)
master client,reconnect if grpc failed

Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2021-05-24 01:44:49 +00:00
zhenshan.cao
70241a8bf9
Cancel local timestamp caching logic (#5327)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-05-21 05:11:21 +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