This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 7660ddb4c70 branch-2.1: [fix](table) Move drop editlog in table lock
#55705 (#55948)
7660ddb4c70 is described below
commit 7660ddb4c70613edc61a7a1dc468f5c11179157d
Author: deardeng <[email protected]>
AuthorDate: Mon Sep 29 16:05:01 2025 +0800
branch-2.1: [fix](table) Move drop editlog in table lock #55705 (#55948)
cherry pick from #55705
---
.../src/main/java/org/apache/doris/datasource/InternalCatalog.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java
b/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java
index 0eb610b1561..de06d688f4e 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/InternalCatalog.java
@@ -979,14 +979,14 @@ public class InternalCatalog implements
CatalogIf<Database> {
costTimes.put("5:getRecycleTimeById",
watch.getSplitTime());
}
}
+ DropInfo info = new DropInfo(db.getId(), table.getId(), tableName,
isView, forceDrop, recycleTime);
+ Env.getCurrentEnv().getEditLog().logDropTable(info);
} finally {
table.writeUnlock();
}
Env.getCurrentEnv().getQueryStats().clear(Env.getCurrentEnv().getCurrentCatalog().getId(),
db.getId(), table.getId());
- DropInfo info = new DropInfo(db.getId(), table.getId(), tableName,
isView, forceDrop, recycleTime);
- Env.getCurrentEnv().getEditLog().logDropTable(info);
Env.getCurrentEnv().getMtmvService().dropTable(table);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]