You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/09/07 19:20:21 UTC

[GitHub] [rocketmq] areyouok commented on a change in pull request #3256: [ISSUE #3257] Ignore irrelevant commit log files on startup

areyouok commented on a change in pull request #3256:
URL: https://github.com/apache/rocketmq/pull/3256#discussion_r703768790



##########
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:
       move it to MappedFileQueue and mark as private.




-- 
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-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org