Commit Graph

68 Commits

Author SHA1 Message Date
xige-16
170e76aee3
[skip ci] Add comment for GetMetrics (#9055)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-02 09:42:23 +08:00
xige-16
c3e504b3fa
[skip ci] Add comment for GetPartitionStates (#8996)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-01 12:19:41 +08:00
xige-16
ea11f7cc2c
[skip ci] Add comment for createQueryChannel (#8995)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-01 12:11:47 +08:00
xige-16
ee8dce79b6
[skip ci] Add comment for releasePartition (#8994)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-01 12:02:26 +08:00
xige-16
9f21ce6a45
[skip ci] Add comment for loadPartition (#8912)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-01 10:13:37 +08:00
xige-16
4b70da179e
[skip ci] Add comment for releaseCollection (#8913)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-01 10:03:52 +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
xige-16
615f72b6d3
[skip ci] Add comment for loadCollection (#8911)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-30 11:12:03 +08:00
xige-16
0ff3c0a7e4
[skip ci] Add comment for showPartitions (#8864)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-29 23:30:45 +08:00
xige-16
16ce18e63a
[skip ci] Add comment for showCollections (#8862)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-29 23:26:56 +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
xige-16
ec3ede1ec6
[skip ci] Add comment for GetComponentStates (#8856)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-29 17:05:58 +08:00
xige-16
9400694867
Add ut for querycoord's meta (#7968)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-29 09:56:04 +08:00
Xiaofan
585989935a
Revert the logger change (#8677)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-27 17:37:57 +08:00
xige-16
6df613f648
[skip ci] Commemt querycoord cluster interface (#8627)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-27 10:47:57 +08:00
xige-16
40c6e01b41
Reduce the running time of ut (#8579)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-26 22:01:57 +08:00
xige-16
d35b0718e7
Delete useless var in queryCoord struct (#8004)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-26 21:59:58 +08:00
xige-16
f30f9826ef
[skip ci] Comment querycoord's meta interface (#8628)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-26 21:57:57 +08:00
Xiaofan
d38adda8c2
Rename log file based on node id (#8517)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-26 21:18:11 +08:00
groot
a20a9c71e2
Reduce go unittest time cost (#8556)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-26 12:56:07 +08:00
groot
96fd7e9399
Reduce go unittest time cost (#8492)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2021-09-24 18:29:55 +08:00
xige-16
93c945d076
Init querycoord once (#8106)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-23 21:56:02 +08:00
xige-16
85c2b4d0f6
Add log for releasePartion task (#8222)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-23 21:06:02 +08:00
xige-16
689e41066f
Add log for cluster reload in queryCoord (#8413)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-23 21:03:55 +08:00
congqixia
da6d93527d
Add session liveness check (#8408)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2021-09-23 18:29:55 +08:00
Xiaofan
f5173b595f
Add a channel prefix for all channels (#8166)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-09-23 10:53:53 +08:00
godchen
75672abab4
Add lease time (#8064)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-09-22 17:50:00 +08:00
xige-16
2e160f51bc
Add default test nodeID in querycoord's mock test (#8224)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-22 11:31:59 +08:00
xige-16
e75693e1a3
Add log for release collection task (#8226)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-18 18:45:51 +08:00
Xiangyu Wang
c314b2b4a8
Remove unused label rules (#7929)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-09-18 18:19:51 +08:00
xige-16
5046cbe5d8
Fix logic error in release collection (#8188)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-18 15:51:51 +08:00
xige-16
2bcb3f4916
Modify querycoord's log info (#8005)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-15 22:17:49 +08:00
xige-16
c63086fefa
Add ut for querycoord's cluster (#7894)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-15 20:40:07 +08:00
zhenshan.cao
e5e4b24954
Fix bug: describe collection return wrong shard number (#7841)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-09-14 11:59:47 +08:00
xige-16
15a6f30ac4
Add ut for querycoord's impl (#7728)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-09-10 19:14:01 +08:00
bigsheeper
b7103357fd
Load failed if collection beyonds the memory limit (#7434)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-09-07 11:35:18 +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
dragondriver
1db573731b
Cache the system information metrics (#7436)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-03 17:15:26 +08:00
dragondriver
3721cbfea1
Proxy metrics integrates with other coordinators (#7400)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-09-01 17:35:00 +08:00
bigsheeper
1e60cccaf9
Set inMemoryPercentage to 0 when releasing partition (#7310)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-08-27 16:51:11 +08:00
xige-16
055d94ede1
Add ut for queryCoord (#7212)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-08-26 14:17:54 +08:00
Xiaofan
58b2089692
Import Embedded Etcd Kv Part 1(#7112) (#7174)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
2021-08-24 09:45:51 +08:00
dragondriver
e45cb6c644
Expose system topology information by proxy (#7137)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-08-18 10:12:10 +08:00
dragondriver
7eb8a665b2
Expose metrics of QueryCoord and QueryNodes (#7113)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-08-17 10:06:11 +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
godchen
7557616fea
Change client timeout (#6982)
* Change client timeout

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

* change timeout

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

* fix error

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

* change timeout time

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

* fix conflicts

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

* fix ut

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

* remove ut

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-08-06 14:09:26 +08:00
xige-16
c8a1f780c1
Use proto marshal instead of MarshalTextString in querycoord (#6958)
* use proto marshal instead of marshalToText

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

* log error

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

* don't retry after init meta/cluster/scheduler failed

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

* fix return err

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

* log inconsistent task info

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-08-03 22:03:25 +08:00
xige-16
87c5a49d9a
Refactor showCollection/showPartition to get load state in memory (#6935)
* refactor showCollection/showPartition to get load state in memory

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

* update proto

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

* update proto

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

* update milvus.proto

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

* add show result log to debug

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

* fix wrong err message

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

* update pymilvus-orm version

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

* fix repeated load error

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

* update proto

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

* fix status nil error

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-08-02 22:39:25 +08:00
godchen
db94d7771f
Read vector from disk (#6707)
* Read vector from disk

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

* go fmt

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

* fix git action error

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

* fix error

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

* fix test error

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

* fix action error

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

* fix caculate error

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

* change var name

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

* remove unused method

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

* remove unused method

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

* fix error

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

* fix len error

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

* remove unused code

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

* change bytes to float method

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

* change float to bytes method

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

* fix action error

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-07-24 09:25:22 +08:00