Fix 3002, bug fix assert fail if broker scan failed

Change-Id: Ifb9eb057f104b99679efc04b930ea8263e1f4055
This commit is contained in:
zhaochun
2017-08-17 21:17:45 +08:00
committed by Zhao Chun
parent d9ee367b27
commit adac2b4b3c
3 changed files with 19 additions and 2 deletions

View File

@ -288,9 +288,13 @@ Status DataSpliter::close(RuntimeState* state, Status close_status) {
is_ok = false;
err_status = status;
}
iter.second->reset();
iter.second->clear();
}
}
} else {
for (const auto& iter : _batch_map) {
iter.second->clear();
}
}
// finish sink
for (const auto& iter : _dpp_sink_vec) {