yiguolei commented on code in PR #51222:
URL: https://github.com/apache/doris/pull/51222#discussion_r2178833790
##########
fe/fe-core/src/main/java/org/apache/doris/transaction/GlobalTransactionMgrIface.java:
##########
@@ -47,10 +47,13 @@
public interface GlobalTransactionMgrIface extends Writable {
default void checkValidTimeoutSecond(long timeoutSecond, int
maxLoadTimeoutSecond,
int minLoadTimeOutSecond) throws AnalysisException {
- if (timeoutSecond > maxLoadTimeoutSecond || timeoutSecond <
minLoadTimeOutSecond) {
- throw new AnalysisException("Invalid timeout: " + timeoutSecond +
". Timeout should between "
- + minLoadTimeOutSecond + " and " + maxLoadTimeoutSecond
- + " seconds");
+ if (timeoutSecond < minLoadTimeOutSecond) {
+ throw new AnalysisException("Invalid timeout: " + timeoutSecond +
". Timeout should be higher than "
Review Comment:
Config.min_load_timeout_second
--
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]