Commit Graph

143 Commits

Author SHA1 Message Date
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
edward.zeng
5c003a023e
[skip e2e] Refine indexcoord util comment (#13998)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
2021-12-22 20:03:38 +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
f64a1a5bae
[skip e2e]Add comment for PeekClientV1 (#13857)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-21 15:48:17 +08:00
cai.zhang
1eb5645762
[skip e2e]Add comment for PeekClientV0 (#13856)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-21 15:46:13 +08:00
cai.zhang
04c210f4dd
[skip e2e]Add comment for PeekClientPolicy in indexcoord (#13759)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-20 18:09:06 +08:00
cai.zhang
2da7f528e8
[skip e2e]Add comment for getDimension in indexcoord (#13761)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-20 17:47:23 +08:00
cai.zhang
05919ed346
[skip e2e]Add comment for estimate in indexcoord (#13760)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-20 17:44:06 +08:00
cai.zhang
2ef2228ad0
Check component state before get index files (#13578)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-17 23:10:42 +08:00
cai.zhang
037b9b0d4e
[skip e2e]Format log (#13579)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-17 22:17:03 +08:00
cai.zhang
461130e933
[skip e2e]Add log for BuildIndex (#13577)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-17 22:15:08 +08:00
cai.zhang
ce3f39c4d5
Adjust the order of import packages (#13499)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-16 16:31:43 +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
6304717f81
Adjust the order of import packages for indexcoord.go (#13500)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-16 15:30:04 +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
9f23fc7f2a
Register the service when the component state is healthy (#13248)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-15 11:47:10 +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
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
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
Xiangyu Wang
405b3cd932
Use the same lint rules with golint in revive (#13324)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-12-14 15:31:07 +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
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
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
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
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
cai.zhang
961e9379c6
Check the indexcoord state before get index state (#12452)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-09 11:43:09 +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
congqixia
de454956fe
Refactor session WatchSessions to allow rewatch when Rev Compacted (#12880)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-08 10:11:04 +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
4175fde7bc
Check the indexcoord state before drop index (#12453)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-07 21:07:22 +08:00
cai.zhang
926f47e318
Add log for indexcoord (#12789)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-07 09:55:56 +08:00
yanliang567
b2402cd916
[skip ci]Update etcd name in comments (#12800)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2021-12-06 19:01:49 +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
cai.zhang
c3e0299f06
[skip ci]Add comment for assignTask in indexcoord (#12788)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
2021-12-06 18:29:54 +08:00
congqixia
19000e6af2
Update indexcoord state to unhealthy before stopping (#12723)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-12-06 10:37:40 +08:00