imay commented on a change in pull request #1476: We can set param
'load_memtable_bytes' with http header for stream load
URL: https://github.com/apache/incubator-doris/pull/1476#discussion_r303313072
##########
File path: be/src/http/action/stream_load.cpp
##########
@@ -328,6 +328,19 @@ Status StreamLoadAction::_process_put(HttpRequest*
http_req, StreamLoadContext*
request.__set_negative(false);
}
+ if (!http_req->header(HTTP_STREAM_LOAD_MEMTABLE_BYTES).empty()) {
+ int64_t load_memtable_bytes =
atoi(http_req->header(HTTP_STREAM_LOAD_MEMTABLE_BYTES).c_str());
+ if (load_memtable_bytes < 104857600) {//100M
Review comment:
make 104857600 as a config item
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]