mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +08:00
Rename channelID to channelNames in documents
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
parent
6e36f10a26
commit
4303fc0334
@ -92,8 +92,8 @@ type IndexFilePathsResponse struct {
|
||||
```go
|
||||
type IndexNode interface {
|
||||
Service
|
||||
// SetTimeTickChannel(channelID string) error
|
||||
// SetStatsChannel(channelID string) error
|
||||
// SetTimeTickChannel(channelName string) error
|
||||
// SetStatsChannel(channelName string) error
|
||||
|
||||
BuildIndex(req BuildIndexRequest) (BuildIndexResponse, error)
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ type CreateChannelRequest struct {
|
||||
}
|
||||
|
||||
type CreateChannelResponse struct {
|
||||
ChannelIDs []string
|
||||
ChannelNames []string
|
||||
}
|
||||
```
|
||||
|
||||
@ -40,7 +40,7 @@ type CreateChannelResponse struct {
|
||||
|
||||
```go
|
||||
type DestoryChannelRequest struct {
|
||||
ChannelIDs []string
|
||||
ChannelNames []string
|
||||
}
|
||||
```
|
||||
|
||||
@ -50,11 +50,11 @@ type DestoryChannelRequest struct {
|
||||
|
||||
```go
|
||||
type DescribeChannelRequest struct {
|
||||
ChannelIDs []string
|
||||
ChannelNames []string
|
||||
}
|
||||
|
||||
type ChannelDescription struct {
|
||||
ChannelID string
|
||||
ChannelName string
|
||||
Owner OwnerDescription
|
||||
}
|
||||
|
||||
|
@ -70,8 +70,8 @@ type InvalidateCollMetaCacheRequest struct {
|
||||
```go
|
||||
type ProxyNode interface {
|
||||
Service
|
||||
//SetTimeTickChannel(channelID string) error
|
||||
//SetStatsChannel(channelID string) error
|
||||
//SetTimeTickChannel(channelName string) error
|
||||
//SetStatsChannel(channelName string) error
|
||||
|
||||
CreateCollection(req CreateCollectionRequest) error
|
||||
DropCollection(req DropCollectionRequest) error
|
||||
|
@ -359,8 +359,8 @@ Master
|
||||
message TenantMeta {
|
||||
uint64 id = 1;
|
||||
uint64 num_query_nodes = 2;
|
||||
repeated string insert_channel_ids = 3;
|
||||
string query_channel_id = 4;
|
||||
repeated string insert_channel_names = 3;
|
||||
string query_channel_name = 4;
|
||||
}
|
||||
```
|
||||
|
||||
@ -370,7 +370,7 @@ message TenantMeta {
|
||||
message ProxyMeta {
|
||||
uint64 id = 1;
|
||||
common.Address address = 2;
|
||||
repeated string result_channel_ids = 3;
|
||||
repeated string result_channel_names = 3;
|
||||
}
|
||||
```
|
||||
|
||||
@ -598,7 +598,7 @@ func NewSegmentManagement(ctx context.Context) *SegmentManagement
|
||||
|
||||
###### 10.7.1 Assign Segment ID to Inserted Rows
|
||||
|
||||
Master receives *AssignSegIDRequest* which contains a list of *SegIDRequest(count, channelID, collectionName, partitionName)* from Proxy. Segment Manager will assign the opened segments or open a new segment if there is no enough space, and Segment Manager will record the allocated space which can be reallocated after a expire duration.
|
||||
Master receives *AssignSegIDRequest* which contains a list of *SegIDRequest(count, channelName, collectionName, partitionName)* from Proxy. Segment Manager will assign the opened segments or open a new segment if there is no enough space, and Segment Manager will record the allocated space which can be reallocated after a expire duration.
|
||||
|
||||
```go
|
||||
func (segMgr *SegmentManager) AssignSegmentID(segIDReq []*internalpb.SegIDRequest) ([]*internalpb.SegIDAssignment, error)
|
||||
|
@ -161,8 +161,8 @@ type ReleasePartitionRequest struct {
|
||||
|
||||
```go
|
||||
type CreateQueryChannelResponse struct {
|
||||
RequestChannelID string
|
||||
ResultChannelID string
|
||||
RequestChannelName string
|
||||
ResultChannelName string
|
||||
}
|
||||
```
|
||||
|
||||
@ -177,8 +177,8 @@ type QueryNode interface {
|
||||
AddQueryChannel(req AddQueryChannelRequest) error
|
||||
RemoveQueryChannel(req RemoveQueryChannelRequest) error
|
||||
WatchDmChannels(req WatchDmChannelRequest) error
|
||||
//SetTimeTickChannel(channelID string) error
|
||||
//SetStatsChannel(channelID string) error
|
||||
//SetTimeTickChannel(channelName string) error
|
||||
//SetStatsChannel(channelName string) error
|
||||
|
||||
LoadSegments(req LoadSegmentRequest) error
|
||||
ReleaseSegments(req ReleaseSegmentRequest) error
|
||||
@ -193,8 +193,8 @@ type QueryNode interface {
|
||||
```go
|
||||
type AddQueryChannelRequest struct {
|
||||
RequestBase
|
||||
RequestChannelID string
|
||||
ResultChannelID string
|
||||
RequestChannelName string
|
||||
ResultChannelName string
|
||||
}
|
||||
```
|
||||
|
||||
@ -202,8 +202,8 @@ type AddQueryChannelRequest struct {
|
||||
|
||||
```go
|
||||
type RemoveQueryChannelRequest struct {
|
||||
RequestChannelID string
|
||||
ResultChannelID string
|
||||
RequestChannelName string
|
||||
ResultChannelName string
|
||||
}
|
||||
```
|
||||
|
||||
@ -211,7 +211,7 @@ type RemoveQueryChannelRequest struct {
|
||||
|
||||
```go
|
||||
type WatchDmChannelRequest struct {
|
||||
InsertChannelIDs []string
|
||||
InsertChannelNames []string
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -58,7 +58,7 @@ type RegisterNodeResponse struct {
|
||||
```go
|
||||
type SegIDRequest struct {
|
||||
Count uint32
|
||||
ChannelID string
|
||||
ChannelName string
|
||||
CollectionID UniqueID
|
||||
PartitionID UniqueID
|
||||
}
|
||||
@ -70,7 +70,7 @@ type AssignSegIDRequest struct {
|
||||
|
||||
type SegIDAssignment struct {
|
||||
SegmentID UniqueID
|
||||
ChannelID string
|
||||
ChannelName string
|
||||
Count uint32
|
||||
CollectionID UniqueID
|
||||
PartitionID UniqueID
|
||||
@ -170,9 +170,9 @@ type DataNode interface {
|
||||
Service
|
||||
|
||||
WatchDmChannels(req WatchDmChannelRequest) error
|
||||
//WatchDdChannel(channelID string) error
|
||||
//SetTimeTickChannel(channelID string) error
|
||||
//SetStatsChannel(channelID string) error
|
||||
//WatchDdChannel(channelName string) error
|
||||
//SetTimeTickChannel(channelName string) error
|
||||
//SetStatsChannel(channelName string) error
|
||||
|
||||
FlushSegments(req FlushSegRequest) error
|
||||
}
|
||||
@ -185,7 +185,7 @@ type DataNode interface {
|
||||
```go
|
||||
type WatchDmChannelRequest struct {
|
||||
RequestBase
|
||||
InsertChannelIDs []string
|
||||
InsertChannelNames []string
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user