morningman commented on a change in pull request #5752:
URL: https://github.com/apache/incubator-doris/pull/5752#discussion_r629447413



##########
File path: fe/fe-core/src/main/java/org/apache/doris/common/Config.java
##########
@@ -1379,4 +1379,12 @@
      */
     @ConfField
     public static int grpc_max_message_size_bytes = 1 * 1024 * 1024 * 1024; // 
1GB
+
+    /**
+     * Array config to disable operations, default value is false;
+     * From left to right is disable_alter_table, disable_broker_load, 
disable_truncate_table, disable_stream_load
+     * It can be extended to add more disable operations
+     */
+    @ConfField(mutable = true, comment = "disable_alter_table, 
disable_broker_load, disable_truncate_table, disable_stream_load")
+    public static boolean[] disable_config = new boolean[4];

Review comment:
       why not using string array to make it more readable?




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to