Commit Graph

26 Commits

Author SHA1 Message Date
xige-16
f68a3358dd
Fix multiSave childTask failed to etcd (#10340)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-21 12:18:36 +08:00
xige-16
c298a14e08
Fix golint error of PopTask in queryCoord (#10232)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-20 11:12:35 +08:00
xige-16
a1902f5eec
[skip ci] Add comment for waitActivateTaskDone (#10140)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-19 14:11:18 +08:00
xige-16
500d3eef2b
[skip ci] Add comment for processLoop (#10139)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-19 14:09:00 +08:00
zhenshan.cao
d6f95f49e8
Fix golint error in querycoord (#10127)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-10-18 21:34:47 +08:00
xige-16
e80fbd1f19
Fix golint error in the task of querycoord (#9866)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-14 20:18:33 +08:00
xige-16
a0fb28fea4
[skip ci] Add comment for taskScheduler close (#9756)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-12 23:38:43 +08:00
xige-16
83c3a677cc
[skip ci] Add comment for taskScheduler start (#9755)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-12 23:36:47 +08:00
xige-16
f8054a409e
[skip ci] Add comment for scheduler's taskChan (#9686)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-11 21:42:33 +08:00
xige-16
0855347576
[skip ci] Add comment for newTaskScheduler (#9687)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-11 21:08:30 +08:00
xige-16
235d736a49
Add max number of retries for interTask in querycoord (#8215)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-11 09:54:37 +08:00
xige-16
b6cc36894b
[skip ci] Add comment for popTask (#9592)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-09 20:19:10 +08:00
xige-16
152d7dfa92
[skip ci] Add comment for enqueue (#9593)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-09 19:54:16 +08:00
xige-16
cc07fc5f29
[skip ci] Add comment for taskScheduler (#9513)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-09 00:02:09 +08:00
xige-16
8798c31c73
[skip ci] Add comment for newTaskQueue (#9512)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-09 00:00:17 +08:00
xige-16
62fa281dbb
[skip ci] Add comment for taskQueue (#9511)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-10-08 23:58:22 +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
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
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
xige-16
2a42244ff6
fix watchQueryChannelTask's info can't be deleted from etcd (#6568)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-07-16 10:21:55 +08:00
xige-16
2b720fd2f7
Fix load hang when restart querynode many time in short time (#6351)
* fix load hang when restart querynode many time in short time

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

* add multi queryNode ut

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

* add ut for restart querynode

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

* set queryCoord contex to load collection

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-07-13 14:16:00 +08:00
xige-16
ddb027fb9e
clear proxy sarchStream when releaseCollection (#6258)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-07-02 10:40:13 +08:00
godchen
49a0528d53
Fix trace (#6218)
* Fix trace

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

* fix go fmt

Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2021-06-30 16:18:13 +08:00
xige-16
5417fee45f
fix releasePartition not work after loadCollection (#6025)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-06-23 17:44:12 +08:00
xige-16
2af1c27811
Rename queryservice to querycoordinator (#5931)
* Rename queryservice to querycoordinator

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

* fix param table

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

* code format

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

* fix unittest

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

* service to coordinator

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

* code format

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

* set querycoord in ci

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-06-22 16:44:09 +08:00