imbajin commented on code in PR #3391:
URL: https://github.com/apache/hugegraph/pull/3391#discussion_r4349879423
##########
hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/io/HugeGraphSONModule.java:
##########
@@ -369,6 +370,8 @@ public GraphSpace deserialize(JsonParser jsonParser,
memoryUsed = jsonParser.getNumberValue();
} else if ("storage_used".equals(fieldName)) {
storageUsed = jsonParser.getNumberValue();
+ } else if ("storage_used_kb".equals(fieldName)) {
+ storageUsedKb = jsonParser.getNumberValue();
Review Comment:
Rechecked at a13173dfa0613da99104dd1086a925ac1d0b43a7: the old-codec
numeric-string rewrite is now accepted. Two independent reviews verified the
exact parser and ran bounded JVM/Jackson cases covering zero, numeric strings,
overflow, malformed optional precision and parser alignment; legacy GB fallback
is preserved. The added frozen legacy-codec round trips and SpaceMetaManager
startup-reader regression directly cover the reported path, but I inspected
rather than independently executed the full Server suite. Current-head CI and
full upgrade validation remain separate. This is targeted repair verification,
not approval.
--
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]