This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-4.0-preview in repository https://gitbox.apache.org/repos/asf/doris.git
commit bff3088d09bd0c7555348c3a6553d3e343649136 Author: Luwei <[email protected]> AuthorDate: Sun Apr 14 09:40:15 2024 +0800 [fix](merge-cloud) fix mtmv data leak in cloud mode (#33619) --- .../src/main/java/org/apache/doris/catalog/CatalogRecycleBin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/CatalogRecycleBin.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/CatalogRecycleBin.java index 368f0921d12..aa081ebd6e2 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/catalog/CatalogRecycleBin.java +++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/CatalogRecycleBin.java @@ -352,7 +352,7 @@ public class CatalogRecycleBin extends MasterDaemon implements Writable { long tableId = table.getId(); if (isExpire(tableId, currentTimeMs)) { - if (table.getType() == TableType.OLAP) { + if (table.getType() == TableType.OLAP || table.getType() == TableType.MATERIALIZED_VIEW) { Env.getCurrentEnv().onEraseOlapTable((OlapTable) table, false); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
