[
https://issues.apache.org/jira/browse/IGNITE-24641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Puchkovskiy updated IGNITE-24641:
---------------------------------------
Summary: Make waits in sql module interruptible (was: Make wait in
IgniteSqlImpl.execute() interruptible)
> Make waits in sql module interruptible
> --------------------------------------
>
> Key: IGNITE-24641
> URL: https://issues.apache.org/jira/browse/IGNITE-24641
> Project: Ignite
> Issue Type: Improvement
> Reporter: Roman Puchkovskiy
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
> Fix For: 3.1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> IgniteSqlImpl.execute() uses join() to wait on a future. This wait is
> uninterruptible. If something goes wrong when executing a query and the
> future never completes, tests invoking SQL might hang forever, even timeouts
> will not help because the thread executing the test will be impossible to
> interrupt.
> We should use get() instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)