RongtongJin commented on code in PR #7014:
URL: https://github.com/apache/rocketmq/pull/7014#discussion_r1259267020
##########
store/src/main/java/org/apache/rocketmq/store/CommitLog.java:
##########
@@ -2089,6 +2089,16 @@ public void run() {
} else {
this.waitForRunning(defaultMessageStore.getMessageStoreConfig().getTimerColdDataCheckIntervalMs());
}
+
+ if (pageSize < 0) {
+ try {
+ initPageSize();
+ } catch (Exception e) {
+ log.error("Before scanning files in pagecache,
initing has failed.", e);
+ return;
+ }
Review Comment:
这里无法抓住java.lang.UnsatisfiedLinkError
##########
store/src/main/java/org/apache/rocketmq/store/CommitLog.java:
##########
@@ -2089,6 +2089,16 @@ public void run() {
} else {
this.waitForRunning(defaultMessageStore.getMessageStoreConfig().getTimerColdDataCheckIntervalMs());
}
+
+ if (pageSize < 0) {
+ try {
+ initPageSize();
+ } catch (Exception e) {
+ log.error("Before scanning files in pagecache,
initing has failed.", e);
+ return;
+ }
Review Comment:
这里无法抓住java.lang.UnsatisfiedLinkError
--
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]