mirror of https://github.com/milvus-io/milvus.git
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
parent
4e6923ccde
commit
547c2e7c9f
|
@ -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 {
|
||||||
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 {
|
||||||
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 {
|
||||||
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 {
|
||||||
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 {
|
||||||
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"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue