Skip to content

Commit 319e25f

Browse files
committed
fix: fix version 1.6.0 to 1.7.0 in api comment
1 parent 24c4889 commit 319e25f

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

protos/account.proto

+5-5
Original file line numberDiff line numberDiff line change
@@ -74,19 +74,19 @@ message AccountStatusInPartition {
7474
}
7575

7676
message QueryAccountBlockStatusResponse {
77-
// In versions 1.6.0 and earlier:
77+
// In versions 1.7.0 and earlier:
7878
// - The account's status is uniformly consistent across all partitions by default.
7979
// - false: The queried account is unblocked in all partitions.
8080
// - true: The queried account has no available partitions.
8181

82-
// In versions later than 1.6.0:
82+
// In versions later than 1.7.0:
8383
// - The field "blocked" represents whether the account is completely blocked across all partitions:
8484
// - true: The account is fully blocked in all partitions.
8585
// - false: The account has one or more partitions where it is not blocked.
8686
bool blocked = 1;
8787

8888
// the details of account blocked status in every partition
89-
// only returns in version later than 1.6.0
89+
// only returns in version later than 1.7.0
9090
repeated AccountStatusInPartition account_blocked_details = 2;
9191
}
9292

@@ -213,10 +213,10 @@ service AccountService {
213213
/*
214214
* description: query if an account is blocked
215215
* Version differences:
216-
* - In versions 1.6.0 and earlier:
216+
* - In versions 1.7.0 and earlier:
217217
* - The response's 'blocked' field indicates a uniform status across all partitions.
218218
* - The 'account_blocked_details' field is not returned.
219-
* - In versions after 1.6.0:
219+
* - In versions after 1.7.0:
220220
* - The 'blocked' field indicates whether the account is completely blocked across all partitions.
221221
* - The 'account_blocked_details' field provides detailed status information for each partition.
222222
* errors:

protos/config.proto

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ message GetClusterInfoRequest {
8484
message GetClusterInfoResponse {
8585
string cluster_name = 1;
8686
repeated PartitionInfo partitions = 2;
87-
// 3-17 Newly added parameters may not be returned
87+
// 3-17 Newly added parameters
88+
// only returns in version later than 1.7.0
8889
uint32 node_count = 3;
8990
uint32 running_node_count = 4;
9091
uint32 idle_node_count = 5;

0 commit comments

Comments
 (0)