schnell18 commented on a change in pull request #3256: URL: https://github.com/apache/rocketmq/pull/3256#discussion_r704990747
########## File path: common/src/main/java/org/apache/rocketmq/common/UtilAll.java ########## @@ -52,8 +53,11 @@ public static final String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss"; public static final String YYYY_MM_DD_HH_MM_SS_SSS = "yyyy-MM-dd#HH:mm:ss:SSS"; public static final String YYYYMMDDHHMMSS = "yyyyMMddHHmmss"; + public static final int MAPPED_FILENAME_DIGITS = 20; + public static final Pattern MAPPED_FILENAME_PATTERN = Pattern.compile("^\\d{20}$"); Review comment: Moved MAPPED_FILENAME_PATTERN to MappedfileQueue. The MAPPED_FILENAME_DIGITS remains in this file as it is reference in it. -- 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: dev-unsubscr...@rocketmq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org