HTHou commented on code in PR #9218:
URL: https://github.com/apache/iotdb/pull/9218#discussion_r1125839034
##########
server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java:
##########
@@ -1606,13 +1606,14 @@ private void initStorageEngineAllocate(Properties
properties) {
String allocationRatioForWrite =
properties.getProperty("write_memory_proportion", "19:1");
proportions = allocationRatioForWrite.split(":");
- int proportionForMemTable = Integer.parseInt(proportions[0].trim());
+ int proportionForMemTable = Integer.parseInt(proportions[0].replace("\\",
"").trim());
Review Comment:
<img width="835" alt="image"
src="https://user-images.githubusercontent.com/25913899/223011112-831f0e81-edd0-4825-85b6-c01a92135129.png">
The serialize method of property will add `\` for `:`.
--
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]