Commit Graph

34 Commits

Author SHA1 Message Date
SimFG
d7f38a803d
Separate some proto files (#19218)
Signed-off-by: SimFG <bang.fu@zilliz.com>

Signed-off-by: SimFG <bang.fu@zilliz.com>
2022-09-16 16:56:49 +08:00
cai.zhang
34c9eae16f
Add IndexCoord ut and fix data race (#18897)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-08-31 10:23:04 +08:00
cai.zhang
c924f73105
Refactor for IndexCoord to support cloud (#18643)
Co-authored-by: Zach41 <zongmei.zhang@zilliz.com>
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
Co-authored-by: Zach41 <zongmei.zhang@zilliz.com>
2022-08-25 15:48:54 +08:00
cai.zhang
315df1ff15
Reduce the timer time of assigning index task scheduler (#18319)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2022-07-19 14:24:29 +08:00
cai.zhang
a47a414dce
Fix bug for IndexNode pod kill test (#18177)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2022-07-13 16:16:25 +08:00
cai.zhang
0ad15a22c8
IndexCoord handle events correctly (#17878)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2022-07-07 14:44:21 +08:00
cai.zhang
b0c9f25352
Sort out the log of IndexCoord (#16810)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2022-05-09 12:05:52 +08:00
cai.zhang
6440c0dd98
Add log for getting IndexNode's mertrics (#16747)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-04-29 19:07:47 +08:00
Jiquan Long
3219b4e392
Skip dimension check for scalar index (#16257)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2022-03-29 15:35:27 +08:00
zhenshan.cao
f3eeecf146
Reduce the number of metrics (#16030)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2022-03-15 21:51:21 +08:00
cai.zhang
b435c422c1
Add prometheus metrics for IndexCoord (#15638)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-02-21 17:15:51 +08:00
cai.zhang
7b3b2ba94a
[skip e2e]Fix log message (#14984)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-01-07 14:03:43 +08:00
cxytz01
0437dadd75
[skip e2e] Grammar correction (#14514)
Signed-off-by: cxytz01 <xueyou.chen@zilliz.com>
2021-12-29 17:33:08 +08:00
cai.zhang
85e1acb64e
[skip e2e]Reorder head files for node_manager.go (#14486)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-12-29 11:45:29 +08:00
cai.zhang
8c0f96f8c1
[skip e2e]Add log for ListNode in indexcoord (#14222)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-25 11:40:29 +08:00
cai.zhang
410cf600be
[skip e2e]Add log for PeekClient in indexcoord (#14221)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-25 11:34:21 +08:00
zhenshan.cao
3b7dad4486
Add node ctx mananger logic for IndexCoord (#13862)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-12-23 21:35:52 +08:00
cai.zhang
f4ac7cbfd1
[skip e2e]Add log for indexcoord peek indexnode (#13855)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-21 16:08:59 +08:00
cai.zhang
bb4ae9879d
[skip ci]Add comment for setClient in indexcoord (#13438)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-15 18:27:32 +08:00
cai.zhang
fd9c5203e8
[skip ci]Add comment for getMetrics in indexcoord (#13440)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-15 17:07:10 +08:00
cai.zhang
1f8f5a7d4e
[skip ci]Add comment for indexNodeGetMetricsResponse (#13439)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-15 16:55:26 +08:00
cai.zhang
302584c59c
[skip ci]Add comment for ListNode (#13346)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-14 16:41:33 +08:00
cai.zhang
af46998a2a
The memory of indexnode must be 6 times the segment size (#13213)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-12-13 15:06:29 +08:00
cai.zhang
2c6c74669f
Get indexnode metrics when building index tasks (#13107)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-09 20:45:04 +08:00
cai.zhang
342200ce13
Estimate the memory size of the index before building the index (#12973)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-09 14:19:40 +08:00
Xiaofan
0f5776e5fb
Index coord should not get all node from etcd each time (#12668)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-12-04 11:39:34 +08:00
cai.zhang
5e077fd261
Fix bug for indexnode load balancing (#10994)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-11-01 17:16:05 +08:00
XuanYang-cn
a030c2a81b
[skip ci]Update license for ic node (#10758)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-27 19:00:48 +08:00
cai.zhang
9e37881b29
Standard indexcoord log printing (#8588)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-26 21:23:57 +08:00
cai.zhang
ea1e2dd63f
Add comment for indexcoord nodemanager (#8603)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-26 18:55:58 +08:00
dragondriver
648d22ee40
Expose metrics of IndexCoord and IndexNodes (#7157)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-08-19 10:28:10 +08:00
cai.zhang
c2a4bd3e9c
Lock when writing meta instead of trying to connect to indexnode (#7136)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-08-17 17:54:10 +08:00
cai.zhang
e1b52b0583
Add unittest for IndexCoord and IndexNode (#6698)
* Add unittest for IndexCoord and IndexNode

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

* Fix verifiers

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>
2021-07-23 10:44:12 +08:00
cai.zhang
f469a315d6
Refactor the logic of assign tasks in IndexCoord (#6328)
* Refactor the logic of assign tasks in IndexCoord

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

* Fix bugs

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

* Fix bug for unittest

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

* Add lock for map

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

* Improve code

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

* Fix unittest bug

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

* Reduce duriation for timetick

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

* Update orm version

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

* Reset sdk version

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

* Fix bug

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

* Reset orm version

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

* Reset test ip

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

* Fix bug

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

* Fix bug for unissued

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

* Rename some variables

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

* Fix bug

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

* Use break instead of continue in select::case

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>
2021-07-14 14:15:55 +08:00