This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new f3432e3511f [fix](external catalog) Reset external table creation 
status on log replay (#33390)
f3432e3511f is described below

commit f3432e3511fda6bfa54c258bd657b5b986b55045
Author: zy-kkk <[email protected]>
AuthorDate: Tue Apr 9 09:52:04 2024 +0800

    [fix](external catalog) Reset external table creation status on log replay 
(#33390)
---
 .../src/main/java/org/apache/doris/datasource/ExternalDatabase.java      | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalDatabase.java 
b/fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalDatabase.java
index f8064c0217c..3308b04968f 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalDatabase.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalDatabase.java
@@ -152,6 +152,7 @@ public abstract class ExternalDatabase<T extends 
ExternalTable>
             // So we need add a validation here to avoid table(s) not found, 
this is just a temporary solution
             // because later we will remove all the logics about 
InitCatalogLog/InitDatabaseLog.
             if (table != null) {
+                table.unsetObjectCreated();
                 tmpTableNameToId.put(table.getName(), table.getId());
                 tmpIdToTbl.put(table.getId(), table);
             }


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

Reply via email to