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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to