Skip to content

Commit

Permalink
Fix core when es_scanner_node exit (apache#2634)
Browse files Browse the repository at this point in the history
  • Loading branch information
BabySid authored and imay committed Jan 2, 2020
1 parent 6cab929 commit d05768f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/exec/es_http_scan_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Status EsHttpScanNode::start_scanners() {
}

Status EsHttpScanNode::collect_scanners_status() {
for (int i = 0; i < _scan_ranges.size(); i++) {
for (int i = 0; i < _scanners_status.size(); i++) {
std::future<Status> f = _scanners_status[i].get_future();
RETURN_IF_ERROR(f.get());
}
Expand Down

0 comments on commit d05768f

Please sign in to comment.