未验证 提交 547c2e7c 编写于 作者: X xiangzhouguo 提交者: GitHub

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

Signed-off-by: Nguoxiangzhou <xiangzhou.guo@zilliz.com>
Co-authored-by: Nguoxiangzhou <xiangzhou.guo@zilliz.com>
上级 4e6923cc
...@@ -90,7 +90,7 @@ type BaseComponentInfos struct { ...@@ -90,7 +90,7 @@ type BaseComponentInfos struct {
ID int64 `json:"id"` ID int64 `json:"id"`
} }
// QueryNodeConfiguration records the configuration of query node. // QueryNodeConfiguration records the configuration of QueryNode.
type QueryNodeConfiguration struct { type QueryNodeConfiguration struct {
SearchReceiveBufSize int64 `json:"search_receive_buf_size"` SearchReceiveBufSize int64 `json:"search_receive_buf_size"`
SearchPulsarBufSize int64 `json:"search_pulsar_buf_size"` SearchPulsarBufSize int64 `json:"search_pulsar_buf_size"`
...@@ -109,7 +109,7 @@ type QueryNodeInfos struct { ...@@ -109,7 +109,7 @@ type QueryNodeInfos struct {
SystemConfigurations QueryNodeConfiguration `json:"system_configurations"` SystemConfigurations QueryNodeConfiguration `json:"system_configurations"`
} }
// QueryCoordConfiguration records the configuration of query coordinator. // QueryCoordConfiguration records the configuration of QueryCoord.
type QueryCoordConfiguration struct { type QueryCoordConfiguration struct {
SearchChannelPrefix string `json:"search_channel_prefix"` SearchChannelPrefix string `json:"search_channel_prefix"`
SearchResultChannelPrefix string `json:"search_result_channel_prefix"` SearchResultChannelPrefix string `json:"search_result_channel_prefix"`
...@@ -146,7 +146,7 @@ type IndexNodeInfos struct { ...@@ -146,7 +146,7 @@ type IndexNodeInfos struct {
SystemConfigurations IndexNodeConfiguration `json:"system_configurations"` SystemConfigurations IndexNodeConfiguration `json:"system_configurations"`
} }
// IndexCoordConfiguration records the configuration of index coordinator. // IndexCoordConfiguration records the configuration of IndexCoord.
type IndexCoordConfiguration struct { type IndexCoordConfiguration struct {
MinioBucketName string `json:"minio_bucket_name"` MinioBucketName string `json:"minio_bucket_name"`
} }
...@@ -157,7 +157,7 @@ type IndexCoordInfos struct { ...@@ -157,7 +157,7 @@ type IndexCoordInfos struct {
SystemConfigurations IndexCoordConfiguration `json:"system_configurations"` SystemConfigurations IndexCoordConfiguration `json:"system_configurations"`
} }
// DataNodeConfiguration records the configuration of data node. // DataNodeConfiguration records the configuration of DataNode.
type DataNodeConfiguration struct { type DataNodeConfiguration struct {
FlushInsertBufferSize int64 `json:"flush_insert_buffer_size"` FlushInsertBufferSize int64 `json:"flush_insert_buffer_size"`
} }
...@@ -168,7 +168,7 @@ type DataNodeInfos struct { ...@@ -168,7 +168,7 @@ type DataNodeInfos struct {
SystemConfigurations DataNodeConfiguration `json:"system_configurations"` SystemConfigurations DataNodeConfiguration `json:"system_configurations"`
} }
// DataCoordConfiguration records the configuration of data coordinator. // DataCoordConfiguration records the configuration of DataCoord.
type DataCoordConfiguration struct { type DataCoordConfiguration struct {
SegmentMaxSize float64 `json:"segment_max_size"` SegmentMaxSize float64 `json:"segment_max_size"`
} }
...@@ -179,7 +179,7 @@ type DataCoordInfos struct { ...@@ -179,7 +179,7 @@ type DataCoordInfos struct {
SystemConfigurations DataCoordConfiguration `json:"system_configurations"` SystemConfigurations DataCoordConfiguration `json:"system_configurations"`
} }
// RootCoordConfiguration records the configuration of root coordinator. // RootCoordConfiguration records the configuration of RootCoord.
type RootCoordConfiguration struct { type RootCoordConfiguration struct {
MinSegmentSizeToEnableIndex int64 `json:"min_segment_size_to_enable_index"` MinSegmentSizeToEnableIndex int64 `json:"min_segment_size_to_enable_index"`
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册