This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch opt_dict_perf
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/opt_dict_perf by this push:
new 59414740f8 f
59414740f8 is described below
commit 59414740f8781aa0e55e9a3873ce4a4cf69ca488
Author: yiguolei <[email protected]>
AuthorDate: Tue Mar 14 15:09:48 2023 +0800
f
---
fe/fe-core/src/main/java/org/apache/doris/nereids/CascadesContext.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/CascadesContext.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/CascadesContext.java
index 2ed1123bb1..7caffbfd68 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/nereids/CascadesContext.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/CascadesContext.java
@@ -386,6 +386,7 @@ public class CascadesContext implements ScheduleContext,
PlanSource {
cascadesContext.extractTables(plan);
for (Table table : cascadesContext.tables) {
if (!table.tryReadLock(1, TimeUnit.MINUTES)) {
+ close();
throw new RuntimeException(String.format("Failed to get
read lock on table: %s", table.getName()));
}
locked.push(table);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]