File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,11 @@ impl GlobalServices {
176176 GlobalHistoryLog :: init ( config) . await ?;
177177 }
178178 if config. task . on {
179+ if config. query . cloud_control_grpc_server_address . is_some ( ) {
180+ return Err ( ErrorCode :: InvalidConfig (
181+ "Private Task is enabled but `cloud_control_grpc_server_address` is not empty" ,
182+ ) ) ;
183+ }
179184 TaskService :: init ( config) . await ?;
180185 }
181186
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ for node in 1 2; do
1919
2020 echo " Appending history table config to node-${node} "
2121 cat ./tests/task/private_task.toml >> " $CONFIG_FILE "
22+ sed -i ' /^cloud_control_grpc_server_address/d' $CONFIG_FILE
2223done
2324
2425# Start meta cluster (3 nodes - needed for HA)
You can’t perform that action at this time.
0 commit comments