[
https://issues.apache.org/jira/browse/DRILL-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14543242#comment-14543242
]
Sudheesh Katkam commented on DRILL-3052:
----------------------------------------
Review board: https://reviews.apache.org/r/34191
> canceling a fragment executor before it starts running will cause the Foreman
> to wait indefinitely for a terminal message from that fragment
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DRILL-3052
> URL: https://issues.apache.org/jira/browse/DRILL-3052
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Deneche A. Hakim
> Assignee: Venki Korukanti
> Fix For: 1.0.0
>
> Attachments: DRILL-3052.1.patch.txt
>
>
> When a Foreman receives a cancellation from the client it will cancel all
> it's fragments and go into a CANCELLATION_REQUEST state. Each fragment will
> cancel it's work, close it's resources and report a terminal state to the
> Foreman (either CANCELLED or FAILED). The Foreman will wait for all fragments
> to report before sending a terminal message to the client.
> If a fragment is cancelled before it started running (similar to DRILL-2878)
> it will close it's resources but it will never send a terminal state to the
> foreman which will cause the foreman to wait indefinitely.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)