w41ter commented on code in PR #60705:
URL: https://github.com/apache/doris/pull/60705#discussion_r2866996850


##########
fe/fe-core/src/main/java/org/apache/doris/master/Checkpoint.java:
##########
@@ -146,6 +166,7 @@ public synchronized void doCheckpoint() throws 
CheckpointException {
                                 checkPointVersion, 
env.getReplayedJournalId()));
             }
             env.postProcessAfterMetadataReplayed(false);
+            postProcessCloudMetadata();

Review Comment:
   这里:
   
   olapTable.setCachedTableVersion(servingOlapTable.getCachedTableVersion());
   
   直接用的最新的 table version,是不是会存在 image 中存储的 table version 大于 image version 的情况?
   
   比如拿到 checkPointVersion 后,后续有更新,postProcessCloudMetadata 时直接记录了对 last journal 
id 可见的这些 partition/table version。



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