github-actions[bot] commented on code in PR #15652:
URL: https://github.com/apache/doris/pull/15652#discussion_r1062249978
##########
be/src/pipeline/pipeline.h:
##########
@@ -48,9 +51,11 @@ class Pipeline : public
std::enable_shared_from_this<Pipeline> {
// If all dependencies are finished, this pipeline task should be
scheduled.
// e.g. Hash join probe task will be scheduled once Hash join build task
is finished.
- bool finish_one_dependency() {
+ bool finish_one_dependency(int dependency_core_id) {
DCHECK(_complete_dependency < _dependencies.size());
- return _complete_dependency.fetch_add(1) == _dependencies.size() - 1;
+ bool finish = _complete_dependency.fetch_add(1) ==
_dependencies.size() - 1;
+ if (finish) _previous_schedule_id = dependency_core_id;
Review Comment:
warning: statement should be inside braces
[readability-braces-around-statements]
```suggestion
if (finish) { _previous_schedule_id = dependency_core_id;
}
```
--
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]