yiguolei commented on code in PR #31487:
URL: https://github.com/apache/doris/pull/31487#discussion_r1505738240
##########
be/src/pipeline/pipeline_x/dependency.h:
##########
@@ -118,21 +120,21 @@ class Dependency : public
std::enable_shared_from_this<Dependency> {
void set_ready();
void set_ready_to_read() {
DCHECK(_is_write_dependency) << debug_string();
- DCHECK(_shared_state->source_dep != nullptr) << debug_string();
- _shared_state->source_dep->set_ready();
+ DCHECK(_shared_state->source_deps.size() == 1) << debug_string();
+ _shared_state->source_deps.front()->set_ready();
Review Comment:
为啥这里是front?
另外,为啥shared state 的source deps 是一个vector,而不是就一个?而会有多个
--
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]