bigsheeper 4ecdea698f Refactor query node and query serviceMain changes:1. Add ddBuffer and save binLog.
2. Trans to insertData.
3. Change dataFields data to Data, dim to Dim4. Add float vector and binary vector.5. Deserialize data and convert to InsertData.6. Move all data into InsertData.7. Add insert buffer and hash string.
8. Add minIOkV in insertBuffer node.
9. Init write node insertBuffer maxSize from writeNode.yaml.
10. Add ddBuffer.
11. Add ddBuffer binLog and minio.
12. Add ddNode unittest.
13. Remove redundant call.
14. Increase test time.
15. Delete ddl const, use request's timestamp instead.

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2020-12-24 15:38:29 +08:00
..
2020-12-07 15:22:20 +08:00
2020-12-07 15:22:20 +08:00
2020-12-18 15:21:25 +08:00
2020-12-07 15:22:20 +08:00
2020-12-24 14:51:55 +08:00
2020-12-08 14:41:04 +08:00
2020-12-08 14:41:04 +08:00
2020-11-12 11:18:23 +08:00
2020-12-22 20:16:32 +08:00
2020-12-07 15:22:20 +08:00
2020-12-07 15:22:20 +08:00
2020-11-20 17:10:24 +08:00
2020-12-19 12:55:24 +08:00
2020-11-30 19:38:23 +08:00
2020-11-30 19:38:23 +08:00
2020-12-07 15:22:20 +08:00

How to start a master

Requirements

Start a etcdv3

./etcd -listen-peer-urls=http://192.168.1.10:12380 -advertise-client-urls=http://192.168.1.10:12379 -listen-client-urls http://0.0.0.0:12379,http://0.0.0.0:14001 -initial-advertise-peer-urls=http://192.168.1.10:12380

Start from code

go run cmd/master.go

Start with docker

What rules does master use to write data to kv storage?

1.find the root path variable ETCD_ROOT_PATH which defined in common/config.go 2.add prefix path segment if the resource is a segement 3.add prefix path collection if the resource is a collection 4.add resource uuid

example

if master create a collection with uuid 46e468ee-b34a-419d-85ed-80c56bfa4e90 the corresponding key in etcd is $(ETCD_ROOT_PATH)/collection/46e468ee-b34a-419d-85ed-80c56bfa4e90