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 fe1b8d44fdc branch-2.1: [fix](mtmv)Fix the problem where the job does not exist, which prevents the deletion of MTMV (#43325) fe1b8d44fdc is described below commit fe1b8d44fdc58bbfcd40647202f47b3e90568c03 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Sun Nov 10 01:11:26 2024 +0800 branch-2.1: [fix](mtmv)Fix the problem where the job does not exist, which prevents the deletion of MTMV (#43325) Cherry-picked from #43080 Co-authored-by: zhangdong <493738...@qq.com> --- fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVJobManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVJobManager.java b/fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVJobManager.java index 8ffcea423d7..2c03ad16176 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVJobManager.java +++ b/fe/fe-core/src/main/java/org/apache/doris/mtmv/MTMVJobManager.java @@ -130,7 +130,7 @@ public class MTMVJobManager implements MTMVHookService { public void dropMTMV(MTMV mtmv) throws DdlException { try { Env.getCurrentEnv().getJobManager() - .unregisterJob(mtmv.getJobInfo().getJobName(), false); + .unregisterJob(mtmv.getJobInfo().getJobName(), true); } catch (JobException e) { LOG.warn("drop mtmv job failed, mtmvName: {}", mtmv.getName(), e); throw new DdlException(e.getMessage()); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org