vagetablechicken opened a new issue #3243: PTabletWriterOpenRequest should be 
independently configured
URL: https://github.com/apache/incubator-doris/issues/3243
 
 
   We use `config::tablet_writer_rpc_timeout_sec` to set the rpc timeout in 
OlapTableSink. But sink node contains two rpc request types, 
`PTabletWriterOpenRequest` and `PTabletWriterAddBatchRequest`.
   
   For example:
   1. the default rpc is 10min. And the whole plan_fragment_executor timeout is 
10min.
   1. When I do sink->open(), if one be can't response to me, I will be blocked 
in NodeChannel::open_wait() for 10min. 
   1. I want to execute the plan(the loop of get_next() & sink->send()). But 
the plan fragment has timed out(10min).
   
   It's only one channel open failed, won't break the plan execution. And we 
can finish the plan before the plan_fragment_executor timeout(10min). But we 
waste time in waiting`PTabletWriterOpenResult`.
   
   So I think it's better to separate TabletWriterOpen timeout from 
TabletWriterAddBatch timeout.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to