You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2022/12/02 13:51:00 UTC

[jira] [Updated] (IGNITE-18328) SQL query may hangs forever.

     [ https://issues.apache.org/jira/browse/IGNITE-18328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Mashenkov updated IGNITE-18328:
--------------------------------------
    Description: 
Scenario
* Start gird [CGM, MetaStorage, DataNode]
* Stop MetaStorage node
* Run "Create table" sql query.
* Future returns cursor, but the cursor can't retrieve data from it.
* Observing in thread dump: Reading next batch (requestNextAsync) future can't be failed as ForkJoinPool thread blocked with bulk of tasks:

{code:java}
at j.u.c.CompletableFuture.get(CompletableFuture.java:1998)
at o.a.i.i.m.client.CursorImpl.close(CursorImpl.java:90)
at o.a.i.i.m.client.MetaStorageServiceImpl$WatchProcessor.lambda$stopWatch$1(MetaStorageServiceImpl.java:580)
{code}

See reproducer in IGNITE-18171 PR in ignite-runner module: org.apache.ignite.internal.cluster.ItNodeRestartTest#testCreateTable

  was:
Scenario
* Start gird [CGM, MetaStorage, DataNode]
* Stop MetaStorage node
* Run "Create table" sql query.
* Future returns cursor, but the cursor can't retrieve data from it.
* Observing in thread dump: Reading next batch (requestNextAsync) future can't be failed as ForkJoinPool thread blocked with bulk of tasks:

{code:java}
at j.u.c.CompletableFuture.get(CompletableFuture.java:1998)
at o.a.i.i.m.client.CursorImpl.close(CursorImpl.java:90)
at o.a.i.i.m.client.MetaStorageServiceImpl$WatchProcessor.lambda$stopWatch$1(MetaStorageServiceImpl.java:580)
{code}




> SQL query may hangs forever.
> ----------------------------
>
>                 Key: IGNITE-18328
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18328
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Andrey Mashenkov
>            Priority: Major
>              Labels: ignite-3
>
> Scenario
> * Start gird [CGM, MetaStorage, DataNode]
> * Stop MetaStorage node
> * Run "Create table" sql query.
> * Future returns cursor, but the cursor can't retrieve data from it.
> * Observing in thread dump: Reading next batch (requestNextAsync) future can't be failed as ForkJoinPool thread blocked with bulk of tasks:
> {code:java}
> at j.u.c.CompletableFuture.get(CompletableFuture.java:1998)
> at o.a.i.i.m.client.CursorImpl.close(CursorImpl.java:90)
> at o.a.i.i.m.client.MetaStorageServiceImpl$WatchProcessor.lambda$stopWatch$1(MetaStorageServiceImpl.java:580)
> {code}
> See reproducer in IGNITE-18171 PR in ignite-runner module: org.apache.ignite.internal.cluster.ItNodeRestartTest#testCreateTable



--
This message was sent by Atlassian Jira
(v8.20.10#820010)