[skip ci]Improve proxy doc grammar (#12124)

Signed-off-by: tumao <yan.wang@zilliz.com>
pull/12141/head
Tumao 2021-11-19 18:01:32 +08:00 committed by GitHub
parent 888aad120c
commit af0aa69ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -98,7 +98,7 @@ type SnapShotKV interface {
For the `Read` operations (`Load` and `LoadWithPrefix`), the input parameter `typeutil.Timestamp` is used to tell `metaSnapShot` to load the value based on that `Timestamp`.
For the `Write` operations (`Save`, `MultiSave`, `MultiSaveAndRemoveWithPrefix`), return values include `typeutil.Timestamp`, which is used to tell the caller when these write operations happened.
For the `Write` operations (`Save`, `MultiSave`, `MultiSaveAndRemoveWithPrefix`), return values including `typeutil.Timestamp`, which is used to tell the caller when these write operations happened.
You might be curious about the parameter `additions` of `MultiSave` and `MultiSaveAndRemoveWithPrefix`: What does `additions` do, and why?

View File

@ -389,12 +389,12 @@ type channelsMgr interface {
}
```
- getChannels getVChannels
- getChannels and getVChannels
getVChannels returns a list that represents all virtual DmChannels of collection, getChannels returns a list that
represents all physical DmChannels of collection. The two lists correspond one-to-one according to position.
- createDMLStream getDMLStream
- createDMLStream and getDMLStream
createDMLStream creates the dml message stream of collection;
@ -402,7 +402,7 @@ type channelsMgr interface {
Proxy uses these dml message stream to write dml data, such as insert request.
- createDQLStream getDQLStream
- createDQLStream and getDQLStream
createDQLStream creates the dql message stream of collection;
@ -429,7 +429,7 @@ type channelsTimeTicker interface {
}
```
- addPChan removePChan
- addPChan and removePChan
addPChan adds a physical channel to channelsTimeTicker, channelsTimeTicker only sends the information of existing
pChans to Root Coordinator;