gavinchou commented on code in PR #32509:
URL: https://github.com/apache/doris/pull/32509#discussion_r1532135109


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java:
##########
@@ -6110,4 +6128,19 @@ public void checkReadyOrThrowTException() throws 
TException {
             throw new TException(e);
         }
     }
+
+    private void replayJournalsAndExit() {
+        replayJournal(-1);
+        LOG.info("check metadata compatibility successfully");
+        System.out.println("check metadata compatibility successfully");
+
+        if (Config.checkpoint_after_check_compatibility) {
+            String imagePath = dumpImage();

Review Comment:
   could we call a procedure like `Checkpoint.doCheckpoint()` here? 
   or it is not necessary to keep it the same as a checkpoint procedure.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to