You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zh...@apache.org on 2019/11/16 14:30:05 UTC

[incubator-doris] branch master updated: Fix bug that timeout is not taken effect in streamload (#2217)

This is an automated email from the ASF dual-hosted git repository.

zhaoc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 59e9027  Fix bug that timeout is not taken effect in streamload (#2217)
59e9027 is described below

commit 59e9027f7634d73ce81f99d9081181798fcd0b26
Author: 令狐少侠 <bl...@163.com>
AuthorDate: Sat Nov 16 22:29:55 2019 +0800

    Fix bug that timeout is not taken effect in streamload (#2217)
---
 be/src/http/action/stream_load.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/be/src/http/action/stream_load.cpp b/be/src/http/action/stream_load.cpp
index f431d5f..6858961 100644
--- a/be/src/http/action/stream_load.cpp
+++ b/be/src/http/action/stream_load.cpp
@@ -355,6 +355,10 @@ Status StreamLoadAction::_process_put(HttpRequest* http_req, StreamLoadContext*
         }
     }
 
+    if (ctx->timeout_second != -1) {
+        request.__set_timeout(ctx->timeout_second);
+    }
+
     // plan this load
     TNetworkAddress master_addr = _exec_env->master_info()->network_address;
 #ifndef BE_TEST


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org