diff --git a/proto/common.proto b/proto/common.proto index 76eb482..b6ea672 100644 --- a/proto/common.proto +++ b/proto/common.proto @@ -456,7 +456,7 @@ message ServerInfo { // NodeInfo is used to describe the node information. message NodeInfo { - int64 nodeID = 1; + int64 node_id = 1; string address = 2; string hostname = 3; } diff --git a/proto/rg.proto b/proto/rg.proto index 91af861..5aee428 100644 --- a/proto/rg.proto +++ b/proto/rg.proto @@ -11,7 +11,7 @@ option java_generate_equals_and_hash = true; option csharp_namespace = "Milvus.Client.Grpc"; message ResourceGroupLimit { - int32 nodeNum = 1; + int32 node_num = 1; // preserve for other limit. } @@ -23,7 +23,6 @@ message ResourceGroupTransfer { message ResourceGroupConfig { ResourceGroupLimit requests = 1; // requests node num in resource group, if node num is less than requests.nodeNum, it will be transfer from other resource group. ResourceGroupLimit limits = 2; // limited node num in resource group, if node num is more than limits.nodeNum, it will be transfer to other resource group. - repeated ResourceGroupTransfer from = 3; // missing node should be transfer from given resource group at high priority in repeated list. - repeated ResourceGroupTransfer to = 4; // redundant node should be transfer to given resource group at high priority in repeated list. + repeated ResourceGroupTransfer transfer_from = 3; // missing node should be transfer from given resource group at high priority in repeated list. + repeated ResourceGroupTransfer transfer_to = 4; // redundant node should be transfer to given resource group at high priority in repeated list. } -