mirror of https://github.com/milvus-io/milvus.git
Minor typo fix in dev docs (#8021)
Signed-off-by: NotRyan <ryan.chan@zilliz.com> Co-authored-by: NotRyan <ryan.chan@zilliz.com>pull/8029/head
parent
e0761271dd
commit
8e2eb3b29b
|
@ -58,7 +58,7 @@ type TimeTickProvider interface {
|
||||||
|
|
||||||
The ID is stored in a key-value pair on etcd. The key is metaRootPath + "/services/ServerID". The initial value is 0. When a service is registered, it is incremented by 1 and returned to the next registered service.
|
The ID is stored in a key-value pair on etcd. The key is metaRootPath + "/services/ServerID". The initial value is 0. When a service is registered, it is incremented by 1 and returned to the next registered service.
|
||||||
|
|
||||||
###### Registeration
|
###### Registration
|
||||||
|
|
||||||
* Registration is achieved through etcd's lease mechanism.
|
* Registration is achieved through etcd's lease mechanism.
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ The ID is stored in a key-value pair on etcd. The key is metaRootPath + "/servic
|
||||||
|
|
||||||
* By obtaining the address, you can establish a connection with other services
|
* By obtaining the address, you can establish a connection with other services
|
||||||
|
|
||||||
* If a service is exclusive, the key will not have **ServerID**. But **ServerID** still will be stored in value.
|
* If a service is exclusive, the key will not have **ServerID**. But **ServerID** still will be stored in value.
|
||||||
|
|
||||||
###### Discovery
|
###### Discovery
|
||||||
|
|
||||||
|
@ -436,7 +436,7 @@ type BaseKV interface {
|
||||||
```go
|
```go
|
||||||
type TxnKV interface {
|
type TxnKV interface {
|
||||||
BaseKV
|
BaseKV
|
||||||
|
|
||||||
MultiSaveAndRemove(saves map[string]string, removals []string) error
|
MultiSaveAndRemove(saves map[string]string, removals []string) error
|
||||||
MultiRemoveWithPrefix(keys []string) error
|
MultiRemoveWithPrefix(keys []string) error
|
||||||
MultiSaveAndRemoveWithPrefix(saves map[string]string, removals []string) error
|
MultiSaveAndRemoveWithPrefix(saves map[string]string, removals []string) error
|
||||||
|
@ -445,7 +445,7 @@ type TxnKV interface {
|
||||||
|
|
||||||
###### A.7.3 MetaKv
|
###### A.7.3 MetaKv
|
||||||
|
|
||||||
```go
|
```go
|
||||||
type MetaKv interface {
|
type MetaKv interface {
|
||||||
TxnKV
|
TxnKV
|
||||||
GetPath(key string) string
|
GetPath(key string) string
|
||||||
|
@ -577,5 +577,3 @@ func (kv *RocksdbKV) MultiSaveAndRemoveWithPrefix(saves map[string]string, remov
|
||||||
```
|
```
|
||||||
|
|
||||||
RocksdbKV implements all *TxnKV* interfaces.h
|
RocksdbKV implements all *TxnKV* interfaces.h
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue