Modify some code comments according to naming conventions (#13511)

Signed-off-by: guoxiangzhou <xiangzhou.guo@zilliz.com>

Co-authored-by: guoxiangzhou <xiangzhou.guo@zilliz.com>
pull/13547/head
xiangzhouguo 2021-12-16 20:57:14 +08:00 committed by GitHub
parent 4e6923ccde
commit 547c2e7c9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -90,7 +90,7 @@ type BaseComponentInfos struct {
ID int64 `json:"id"`
}
// QueryNodeConfiguration records the configuration of query node.
// QueryNodeConfiguration records the configuration of QueryNode.
type QueryNodeConfiguration struct {
SearchReceiveBufSize int64 `json:"search_receive_buf_size"`
SearchPulsarBufSize int64 `json:"search_pulsar_buf_size"`
@ -109,7 +109,7 @@ type QueryNodeInfos struct {
SystemConfigurations QueryNodeConfiguration `json:"system_configurations"`
}
// QueryCoordConfiguration records the configuration of query coordinator.
// QueryCoordConfiguration records the configuration of QueryCoord.
type QueryCoordConfiguration struct {
SearchChannelPrefix string `json:"search_channel_prefix"`
SearchResultChannelPrefix string `json:"search_result_channel_prefix"`
@ -146,7 +146,7 @@ type IndexNodeInfos struct {
SystemConfigurations IndexNodeConfiguration `json:"system_configurations"`
}
// IndexCoordConfiguration records the configuration of index coordinator.
// IndexCoordConfiguration records the configuration of IndexCoord.
type IndexCoordConfiguration struct {
MinioBucketName string `json:"minio_bucket_name"`
}
@ -157,7 +157,7 @@ type IndexCoordInfos struct {
SystemConfigurations IndexCoordConfiguration `json:"system_configurations"`
}
// DataNodeConfiguration records the configuration of data node.
// DataNodeConfiguration records the configuration of DataNode.
type DataNodeConfiguration struct {
FlushInsertBufferSize int64 `json:"flush_insert_buffer_size"`
}
@ -168,7 +168,7 @@ type DataNodeInfos struct {
SystemConfigurations DataNodeConfiguration `json:"system_configurations"`
}
// DataCoordConfiguration records the configuration of data coordinator.
// DataCoordConfiguration records the configuration of DataCoord.
type DataCoordConfiguration struct {
SegmentMaxSize float64 `json:"segment_max_size"`
}
@ -179,7 +179,7 @@ type DataCoordInfos struct {
SystemConfigurations DataCoordConfiguration `json:"system_configurations"`
}
// RootCoordConfiguration records the configuration of root coordinator.
// RootCoordConfiguration records the configuration of RootCoord.
type RootCoordConfiguration struct {
MinSegmentSizeToEnableIndex int64 `json:"min_segment_size_to_enable_index"`
}