[debug](timeout) add some log to debug timeout== 0 (#28011)
--------- Co-authored-by: yiguolei <yiguolei@gmail.com>
This commit is contained in:
@ -308,6 +308,9 @@ public class StreamLoadPlanner {
|
||||
queryOptions.setQueryType(TQueryType.LOAD);
|
||||
queryOptions.setQueryTimeout(timeout);
|
||||
queryOptions.setExecutionTimeout(timeout);
|
||||
if (timeout < 1) {
|
||||
LOG.info("try set timeout less than 1", new RuntimeException(""));
|
||||
}
|
||||
queryOptions.setMemLimit(taskInfo.getMemLimit());
|
||||
// for stream load, we use exec_mem_limit to limit the memory usage of load channel.
|
||||
queryOptions.setLoadMemLimit(taskInfo.getMemLimit());
|
||||
@ -527,6 +530,9 @@ public class StreamLoadPlanner {
|
||||
queryOptions.setQueryType(TQueryType.LOAD);
|
||||
queryOptions.setQueryTimeout(timeout);
|
||||
queryOptions.setExecutionTimeout(timeout);
|
||||
if (timeout < 1) {
|
||||
LOG.info("try set timeout less than 1", new RuntimeException(""));
|
||||
}
|
||||
queryOptions.setMemLimit(taskInfo.getMemLimit());
|
||||
// for stream load, we use exec_mem_limit to limit the memory usage of load channel.
|
||||
queryOptions.setLoadMemLimit(taskInfo.getMemLimit());
|
||||
|
||||
@ -372,6 +372,9 @@ public class Coordinator implements CoordInterface {
|
||||
this.queryOptions.setBeExecVersion(Config.be_exec_version);
|
||||
this.queryOptions.setQueryTimeout(context.getExecTimeout());
|
||||
this.queryOptions.setExecutionTimeout(context.getExecTimeout());
|
||||
if (this.queryOptions.getExecutionTimeout() < 1) {
|
||||
LOG.info("try set timeout less than 1", new RuntimeException(""));
|
||||
}
|
||||
this.queryOptions.setEnableScanNodeRunSerial(context.getSessionVariable().isEnableScanRunSerial());
|
||||
this.queryOptions.setFeProcessUuid(ExecuteEnv.getInstance().getProcessUUID());
|
||||
this.queryOptions.setWaitFullBlockScheduleTimes(context.getSessionVariable().getWaitFullBlockScheduleTimes());
|
||||
@ -432,6 +435,9 @@ public class Coordinator implements CoordInterface {
|
||||
public void setTimeout(int timeout) {
|
||||
this.queryOptions.setQueryTimeout(timeout);
|
||||
this.queryOptions.setExecutionTimeout(timeout);
|
||||
if (this.queryOptions.getExecutionTimeout() < 1) {
|
||||
LOG.info("try set timeout less than 1", new RuntimeException(""));
|
||||
}
|
||||
}
|
||||
|
||||
public void setLoadZeroTolerance(boolean loadZeroTolerance) {
|
||||
|
||||
Reference in New Issue
Block a user