neuyilan commented on code in PR #9596:
URL: https://github.com/apache/iotdb/pull/9596#discussion_r1166550236
##########
node-commons/src/main/java/org/apache/iotdb/commons/conf/IoTDBConstant.java:
##########
@@ -103,9 +103,11 @@ private IoTDBConstant() {}
public static final String IOTDB_THREADPOOL_PACKAGE =
"org.apache.iotdb.threadpool";
public static final String JMX_TYPE = "type";
- public static final long GB = 1024 * 1024 * 1024L;
- public static final long MB = 1024 * 1024L;
- public static final long KB = 1024L;
+ public static final long PB = 2L << 49;
+ public static final long TB = 2L << 39;
+ public static final long GB = 2L << 29;
+ public static final long MB = 2L << 19;
+ public static final long KB = 2L << 9;
Review Comment:
```suggestion
public static final long KB = 1L << 10;
```
--
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]