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


##########
fe/fe-core/src/main/java/org/apache/doris/backup/RestoreJob.java:
##########
@@ -2657,6 +2657,9 @@ private void 
setTableStateToNormalAndUpdateProperties(Database db, boolean commi
                 if (committed && isBeingSynced) {
                     olapTbl.setBeingSyncedProperties();
                 }
+                if (committed) {
+                    olapTbl.analyze(db.getName());

Review Comment:
   What happens if the table already exists before the restore job is issued?



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