Commit Graph

5764 Commits

Author SHA1 Message Date
FluorineDog
ff843689ee Add show executor and dsl unittests
Signed-off-by: FluorineDog <guilin.gou@zilliz.com>
2020-11-13 17:07:05 +08:00
zhenshan.cao
595d827155 Add grpc check logic for master
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-11-13 16:53:55 +08:00
bigsheeper
83e37d6e36 Add RWMutex to container, use container interface
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-13 16:47:47 +08:00
XuanYang-cn
1b48e84c35 Refactor master scheduler: has_collection
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2020-11-13 15:44:02 +08:00
cai.zhang
0b478b614a Change Id to ID in go files according to golint check
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-11-13 15:17:18 +08:00
sunby
e541041b28 Add QueryNodeSegStats proto
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2020-11-13 14:20:51 +08:00
XuanYang-cn
88cb274644 Refactor master scheduler: drop_collection
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2020-11-13 12:46:24 +08:00
quicksilver
792f0679e5 Running as root is not permitted on build environment
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
2020-11-13 12:27:41 +08:00
cai.zhang
cfee642a11 Add ruleguard and open ruleguard check
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-11-13 10:00:32 +08:00
cai.zhang
b68322d469 Open golangci-lint check
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-11-12 17:58:05 +08:00
neza2017
14d4a400dd Load etcd port from etcd
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2020-11-12 17:15:01 +08:00
XuanYang-cn
85db2c0438 Fix timesync tests
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2020-11-12 15:56:23 +08:00
bigsheeper
93bd786506 Update getPartitionByTag api with collectionName
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-12 14:46:02 +08:00
bigsheeper
b059b02d7f Format id to ID
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-12 14:34:20 +08:00
FluorineDog
f0ec7a8c78 Support Placeholder Parser and refine CreatePlan on predicate-less
Signed-off-by: FluorineDog <guilin.gou@zilliz.com>
2020-11-12 12:18:07 +08:00
cai.zhang
1cd2fd9954 Add the standard of golangci-lint
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-11-12 12:04:12 +08:00
godchen
4a11a6431b Add time sync producer
Signed-off-by: godchen <qingxiang.chen@zilliz.com>
2020-11-12 11:21:21 +08:00
bigsheeper
c9c8fb9def Close pulsar channel
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-12 11:18:23 +08:00
cai.zhang
3b2c86c42d Fix bug for cmake_build dir was changed
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-11-12 10:45:46 +08:00
xige-16
205abfbbcd Add pulsar message stream for system
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2020-11-11 20:14:20 +08:00
neza2017
d71083bf6b Change master scheduler: CreateCollection
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2020-11-11 20:01:04 +08:00
zhenshan.cao
e0bf59eef7 Change etcd port from 12379 to 2379
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-11-11 19:16:02 +08:00
zhenshan.cao
170792d9bc Unify proto package and version
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-11-11 18:13:20 +08:00
cai.zhang
31d06e6c28 Remove the third-party service that you rely on when starting the service
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-11-11 18:11:30 +08:00
zhenshan.cao
057563d936 Refactor master
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-11-11 17:53:54 +08:00
XuanYang-cn
a2289d3ce6 Add softTimeTickBarrier and hardTimeTickBarrier
Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
2020-11-11 16:41:53 +08:00
dragondriver
fb1e24ade8 Refactor task interface of Proxy and fix the wait logic of task
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2020-11-11 16:00:56 +08:00
zhenshan.cao
c442d50c08 Add global tsoAllocator
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-11-11 14:17:33 +08:00
bigsheeper
b4bd9cf9d6 Add collection, segment, and partition unittest
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-11 11:22:19 +08:00
zhenshan.cao
3b5765ae47 Add proxy timetick
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-11-11 09:54:01 +08:00
cai.zhang
a2f2284932 Add code coverage for go files
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-11-10 15:56:57 +08:00
FluorineDog
5e67e5eb43 Enable Query Executor without predicates
Signed-off-by: FluorineDog <guilin.gou@zilliz.com>
2020-11-10 13:17:31 +08:00
cai.zhang
62a59d094b Run unittest in CI
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-11-09 18:47:37 +08:00
bigsheeper
be409b29c8 Refactor cgo collection, partition and segment
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-09 18:07:15 +08:00
zhenshan.cao
87a4495c59 Fix proxy bug
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-11-09 17:52:47 +08:00
dragondriver
be0a2e7e5f Add other data definition related task to Proxy
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2020-11-09 17:25:53 +08:00
neza2017
980084ff15 Enable github action for go unittest
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2020-11-09 17:08:48 +08:00
bigsheeper
b441685635 Refactor segment, partition and collection, refactor search and services
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-09 16:27:11 +08:00
cai.zhang
19fbf3d616 Check the directory containing the go file when make verifiers
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2020-11-09 14:51:46 +08:00
neza2017
202ded96b9 Update time tick
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2020-11-09 14:09:10 +08:00
zhenshan.cao
db9957d48b Add unittest for master
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-11-07 18:03:52 +08:00
dragondriver
b8ccbc1c97 Add InsertTask and SearchTask to Proxy
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2020-11-07 16:18:23 +08:00
neza2017
7e182a230a Fix bug :GetTimeTick not return error if TimeBarrier is closed
Signed-off-by: neza2017 <yefu.chen@zilliz.com>
2020-11-07 13:19:31 +08:00
zhenshan.cao
86d2d36053 Add MemoryKV, mockkv and tso test
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-11-06 16:47:18 +08:00
FluorineDog
3ff3a5b659 Add ShowPlanNodeVisitor under visitor pattern
Signed-off-by: FluorineDog <guilin.gou@zilliz.com>
2020-11-06 15:34:39 +08:00
zhenshan.cao
9c490a209b Delete unused code
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2020-11-05 19:11:12 +08:00
dragondriver
c732c267e1 Refactor proxy framework and add CreateCollection Task
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2020-11-05 18:01:33 +08:00
FluorineDog
e45df02874 Add Generator for visitor pattern (#89)
Signed-off-by: FluorineDog <guilin.gou@zilliz.com>
2020-11-05 14:30:52 +08:00
GuoRentong
6828d19d37 Update developer_guides.md
Signed-off-by: GuoRentong <rentong.guo@zilliz.com>
2020-11-05 11:52:11 +08:00
bigsheeper
88a3fa31fa Refactor query node and services
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-11-05 10:52:50 +08:00