You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vitalii Diravka (Jira)" <ji...@apache.org> on 2021/11/03 10:21:00 UTC
[jira] [Commented] (DRILL-3167) When a query fails, Foreman should
wait for all fragments to finish cleaning up before sending a FAILED state
to the client
[ https://issues.apache.org/jira/browse/DRILL-3167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17437889#comment-17437889 ]
Vitalii Diravka commented on DRILL-3167:
----------------------------------------
It is resolved in scope of DRILL-7973 and DRILL-8030
> When a query fails, Foreman should wait for all fragments to finish cleaning up before sending a FAILED state to the client
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: DRILL-3167
> URL: https://issues.apache.org/jira/browse/DRILL-3167
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Abdel Hakim Deneche
> Priority: Major
> Fix For: Future
>
> Attachments: DRILL-3167.1.patch.txt, DRILL-3167.5.patch.txt
>
>
> TestDrillbitResilience.foreman_runTryEnd() exposes this problem intermittently
> The query fails and the Foreman reports the failure to the client which removes the results listener associated to the failed query.
> Sometimes, a data batch reaches the client after the FAILED state already arrived, the client doesn't handle this properly and the corresponding buffer is never released.
> Making the Foreman wait for all fragments to finish before sending the final state should help avoid such scenarios.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)