diff --git a/docs/developer_guides/chap03_index_service.md b/docs/developer_guides/chap03_index_service.md index fda486526a..4627679f2f 100644 --- a/docs/developer_guides/chap03_index_service.md +++ b/docs/developer_guides/chap03_index_service.md @@ -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) } diff --git a/docs/developer_guides/chap04_message_stream.md b/docs/developer_guides/chap04_message_stream.md index 85eda4b37e..2f4767abd2 100644 --- a/docs/developer_guides/chap04_message_stream.md +++ b/docs/developer_guides/chap04_message_stream.md @@ -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 } diff --git a/docs/developer_guides/chap05_proxy.md b/docs/developer_guides/chap05_proxy.md index b0ebdd66a7..0335f409c7 100644 --- a/docs/developer_guides/chap05_proxy.md +++ b/docs/developer_guides/chap05_proxy.md @@ -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 diff --git a/docs/developer_guides/chap06_master.md b/docs/developer_guides/chap06_master.md index 357a52a529..860f769e34 100644 --- a/docs/developer_guides/chap06_master.md +++ b/docs/developer_guides/chap06_master.md @@ -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) diff --git a/docs/developer_guides/chap07_query_service.md b/docs/developer_guides/chap07_query_service.md index 33149d87ef..98eedcc540 100644 --- a/docs/developer_guides/chap07_query_service.md +++ b/docs/developer_guides/chap07_query_service.md @@ -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 } ``` diff --git a/docs/developer_guides/chap09_data_service.md b/docs/developer_guides/chap09_data_service.md index c996cb567d..7dcbc1ece5 100644 --- a/docs/developer_guides/chap09_data_service.md +++ b/docs/developer_guides/chap09_data_service.md @@ -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 } ```