bitflicker64 commented on code in PR #570:
URL: https://github.com/apache/hugegraph-doc/pull/570#discussion_r4592051769


##########
content/en/docs/clients/client/hugegraph-client.md:
##########
@@ -988,8 +987,31 @@ spaceManager.createGraphSpace(graphSpace);
 | GraphSpace - Properties | getName() / getNickname() / getDescription() | Get 
name / nickname / description |
 |           | getGraphNumberUsed() / getRoleNumberUsed() | Get the number of 
graphs / roles in use |
 |           | getCpuUsed() / getMemoryUsed() / getStorageUsed() | Get the 
resources in use |
+|           | getStorageUsedKb() | Get storage usage in KB when the Server 
supplies a valid metric |
 |           | getCreateTime() / getUpdateTime() | Get the creation / update 
time |
 | GraphSpace - Configuration | setDescription(String) / setNickname(String) | 
Set description / nickname |
 |           | setMaxGraphNumber(int) / setMaxRoleNumber(int) | Set the maximum 
number of graphs / roles |
 |           | setCpuLimit(int) / setMemoryLimit(int) / setStorageLimit(int) | 
Set the resource quotas |
+|           | setComputeCpuLimit(int) / setComputeMemoryLimit(int) | Set 
compute quotas; see the update semantics below |
 |           | setConfigs(Map<String, Object>) | Set extra configuration 
entries |
+{.wide .expand}
+
+#### 8.3 Compute quotas and storage usage {#graphspace-resource-updates}
+
+The current `1.8.0` Client preserves the distinction between an unset compute 
quota and an explicit zero.

Review Comment:
   Minor: section 8.3 and the `getStorageUsedKb()` row read as part of the 
Client this page installs, but the 4.2 dependency is `1.7.0`, which has no 
`getStorageUsedKb()` and serializes unset compute fields as `0`, and "The 
current `1.8.0` Client" names an unreleased version. Say these need the Client 
built from Toolchain `master` per section 4.2, for example "Client `1.8.0`, 
built from Toolchain `master`, preserves ...", and mark the table row the same 
way; apply both changes to "当前 `1.8.0` Client" and the `getStorageUsedKb()` row 
in `content/cn/docs/clients/client/hugegraph-client.md`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to