You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "CRZbulabula (via GitHub)" <gi...@apache.org> on 2023/06/16 11:46:14 UTC
[GitHub] [iotdb] CRZbulabula commented on a diff in pull request #10170: [IOTDB-5999] Maintain system.properties
CRZbulabula commented on code in PR #10170:
URL: https://github.com/apache/iotdb/pull/10170#discussion_r1232141415
##########
server/src/main/java/org/apache/iotdb/db/conf/IoTDBStartCheck.java:
##########
@@ -184,28 +146,7 @@ private IoTDBStartCheck() {
SystemFileFactory.INSTANCE.getFile(
IoTDBStartCheck.SCHEMA_DIR + File.separator + PROPERTIES_FILE_NAME + ".tmp");
- // Check time stamp precision
- String timestampPrecision = getVal(TIMESTAMP_PRECISION_STRING);
- if (!("ms".equals(timestampPrecision)
- || "us".equals(timestampPrecision)
- || "ns".equals(timestampPrecision))) {
- logger.error(
- "Wrong {}, please set as: ms, us or ns ! Current is: {}",
- TIMESTAMP_PRECISION_STRING,
- timestampPrecision);
- System.exit(-1);
- }
-
- // check partition interval
- if (Long.parseLong(getVal(PARTITION_INTERVAL_STRING)) <= 0) {
- logger.error("Time partition interval must larger than 0!");
- System.exit(-1);
- }
Review Comment:
Fixed.
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org