yangzhg commented on code in PR #13147:
URL: https://github.com/apache/doris/pull/13147#discussion_r999029287
##########
fe/fe-core/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -1792,4 +1792,19 @@ public class Config extends ConfigBase {
@ConfField(mutable = false)
public static int statistic_task_scheduler_execution_interval_ms = 60 *
1000;
+
+ /*
+ * mtmv scheduler framework is still under dev, remote this config when it
is graduate.
+ */
+ @ConfField(mutable = true)
+ public static boolean enable_mtmv_scheduler_framework = false;
+
+ @ConfField(mutable = true, masterOnly = true)
+ public static int running_mtmv_scheduler_task_size = 1000;
+
+ @ConfField(mutable = true, masterOnly = true)
+ public static int pending_mtmv_scheduler_task_size = 1000;
Review Comment:
```suggestion
public static int max_pending_mtmv_scheduler_task_num = 100;
```
##########
fe/fe-core/src/main/java/org/apache/doris/mtmv/metadata/ChangeMtmvTask.java:
##########
@@ -0,0 +1,133 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+package org.apache.doris.mtmv.metadata;
+
+import org.apache.doris.common.io.Text;
+import org.apache.doris.common.io.Writable;
+import org.apache.doris.mtmv.MtmvUtils.TaskState;
+import org.apache.doris.persist.gson.GsonUtils;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.io.DataInput;
+import java.io.DataOutput;
+import java.io.IOException;
+
+public class ChangeMtmvTask implements Writable {
Review Comment:
```suggestion
public class AlterMtmvTask implements Writable {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]