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 {
176
176
GlobalHistoryLog :: init ( config) . await ?;
177
177
}
178
178
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
+ }
179
184
TaskService :: init ( config) . await ?;
180
185
}
181
186
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ for node in 1 2; do
19
19
20
20
echo " Appending history table config to node-${node} "
21
21
cat ./tests/task/private_task.toml >> " $CONFIG_FILE "
22
+ sed -i ' /^cloud_control_grpc_server_address/d' $CONFIG_FILE
22
23
done
23
24
24
25
# Start meta cluster (3 nodes - needed for HA)
You can’t perform that action at this time.
0 commit comments