1fanwang commented on code in PR #2393:
URL:
https://github.com/apache/datafusion-ballista/pull/2393#discussion_r3927316237
##########
ballista/executor/src/executor.rs:
##########
@@ -269,7 +282,8 @@ impl Executor {
stage_id: usize,
task_id: usize,
) -> Result<bool, BallistaError> {
- if let Some((_, handle)) = self.abort_handles.remove(&TaskKey {
+ // Keep the handle registered until execute_query_stage finishes
cleanup.
+ if let Some(handle) = self.abort_handles.get(&TaskKey {
Review Comment:
Done in 8ea0335a.
--
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]