Commit Graph

53 Commits

Author SHA1 Message Date
cai.zhang
b37b87eb97
The GetIndexFilePaths interface judges whether the index is complete (#17052)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2022-05-17 20:41:56 +08:00
cai.zhang
c8688a6275
Organize log for GetIndexFilePaths (#16230)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2022-03-28 21:27:27 +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
Xiaofan
f617c8887b
Time Tick Failed need log (#15225)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2022-01-14 23:55:34 +08:00
Xiaofan
1408926cd9
Remove logs without enough info (#14440)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-12-29 10:06:47 +08:00
cai.zhang
df82dcc783
[skip e2e]Add log for HasSameReq in indexcoord (#14233)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-25 23:14:50 +08:00
cai.zhang
74cf787c1d
[skip e2e]Format log for LoadMetaFromETCD in indexcoord (#14234)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-25 14:58:19 +08:00
cai.zhang
33afe1b576
[skip e2e]Add log for GetUnassignedTasks in indexcoord (#14232)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-25 14:56:24 +08:00
cai.zhang
0b77c4455e
[skip e2e]Add log for GetUnusedIndexFiles in indexcoord (#14223)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-25 11:42:21 +08:00
cai.zhang
2e70326f31
[skip e2e]Format log for DeleteIndex in indexcoord (#14068)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-23 21:40:25 +08:00
cai.zhang
62b7e09163
[skip e2e]Add log for GetIndexFilePathInfo in indexcoord (#14067)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-23 21:38:34 +08:00
cai.zhang
a53140bd39
[skip e2e]Add log for GetIndexStates in indexcoord (#14066)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-23 17:13:15 +08:00
JackLCL
bf66721ea3
[skip e2e]Fix error log output format in meta_table.go (#14027)
Signed-off-by: JackLCL <chenglong.li@zilliz.com>
2021-12-23 14:25:53 +08:00
congqixia
ef3b71f22b
Use indexInfo SerializedSize when estimating segment size (#13969)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-22 20:27:34 +08:00
cai.zhang
e2da1ae598
Adjust the order of import packages for meta_table.go (#13501)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-16 15:31:52 +08:00
cai.zhang
70fdee850c
[skip ci]Add comment for HasSameReq in indexcoord (#13344)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-14 18:39:09 +08:00
edward.zeng
1858ef9924
[skip ci] Refine indexcoord meta table comment (#13360)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-14 18:33:32 +08:00
cai.zhang
f604d13090
[skip ci]Add comment for GetUnassignedTasks in indexcoord (#13347)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-12-14 16:55:07 +08:00
cai.zhang
f6c17ce4b6
[skip ci]Add comment for LoadMetaFromETCD (#13343)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-14 16:45:34 +08:00
cai.zhang
4d578f6c13
[skip ci]Add comment for GetIndexMetaByIndexBuildID (#13345)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-14 16:39:46 +08:00
cai.zhang
259a728a4e
[skip ci]Add comment for GetNodeTaskStats (#13342)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-14 16:37:58 +08:00
cai.zhang
a2a9f47575
[skip ci]Add comment for DeleteIndex in indexcoord (#13171)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-10 21:09:00 +08:00
cai.zhang
d6ed860a67
[skip ci]Add comment for GetUnusedIndexFiles in indexcoord (#13175)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-10 17:09:08 +08:00
cai.zhang
9a8e1be36e
[skip ci]Add comment for UpdateRecycleState in indexcoord (#13173)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-10 17:07:22 +08:00
cai.zhang
29f4a209c0
[skip ci]Add comment for GetIndexFilePathInfo in indexcoord (#13059)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-09 15:49:51 +08:00
cai.zhang
6f71bf42d4
[skip ci]Add comment for GetIndexStates in indexcoord (#13058)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-09 15:47:51 +08:00
cai.zhang
7966691696
[skip ci]Add comment for MarkIndexAsDeleted in indexcoord (#13057)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-09 15:31:18 +08:00
cai.zhang
719dc34ed1
[skip ci]Add comment for UpdateVersion in indexcoord (#12979)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-08 16:49:05 +08:00
cai.zhang
1d4d3e6ad0
[skip ci] Add comment for BuildIndex in indexcoord (#12978)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-08 16:47:17 +08:00
cai.zhang
f5700da683
[skip ci]Add comment for AddIndex in indexcoord (#12977)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-08 16:45:23 +08:00
JackLCL
22c002606b
[skip ci]Fix error log output format in meta_table.go (#12931)
Signed-off-by: JackLCL <chenglong.li@zilliz.com>
2021-12-08 13:14:19 +08:00
cai.zhang
ae92cc1270
[skip ci]Add comment for reloadMeta in indexcoord (#12876)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-08 09:35:32 +08:00
cai.zhang
65182f0227
[skip ci]Add comment for reloadFromKV in indexcoord (#12875)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-08 09:33:41 +08:00
cai.zhang
02dabbe4b5
[skip ci]Add comment for saveIndexMeta in indexcoord (#12874)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-08 09:31:47 +08:00
cai.zhang
c12885dcf9
[skip ci]Add the comment for metaTable in indexcoord (#12790)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-06 18:31:47 +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
e5f159ddd6
IndexNode finished the task before IndexCoord changes the meta (#10821)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-28 18:20:27 +08:00
XuanYang-cn
46add09692
[skip ci]Update license for ic meta (#10757)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
2021-10-27 18:04:47 +08:00
cai.zhang
e18debb3cf
Fix the bug of indexcoord meta returns the underlying pointer (#10504)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-10-24 13:29:10 +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
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
bd48f6f2db
Add comment for metaTable of indexcoord (#8411)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-23 21:37:55 +08:00
congqixia
bdfb8768d4
Enable gosec (#8202)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-18 14:45:50 +08:00
cai.zhang
63a83f027f
Reduce running unit test time for indexcoord (#7779)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-14 10:41:21 +08:00
cai.zhang
e1081b6783
Increase indexcoord component code coverage (#7558)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2021-09-08 14:23:59 +08:00
cai.zhang
d51fec6678
Enhance log when create index failed (#6871)
* Enhance log when create index failed

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

* Fix bug for repeatedly drop index

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>
2021-07-29 14:47:22 +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
9aa56cd7b8
Add log for IndexCoord and IndexNode (#6597)
* Add log for IndexCoord and IndexNode

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

* Make verifier

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

* Delete unused script

Signed-off-by: xiaocai2333 <cai.zhang@zilliz.com>
2021-07-22 11:40:11 +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
Cai Yudong
6436f596de
add GetIndexStates (#6213)
* add GetIndexStates

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

* rename indexservice to index_coord

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-30 14:32:19 +08:00