[
https://issues.apache.org/jira/browse/IGNITE-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15647757#comment-15647757
]
ASF GitHub Bot commented on IGNITE-4145:
----------------------------------------
GitHub user AMashenkov opened a pull request:
https://github.com/apache/ignite/pull/1218
IGNITE-4145: "No query result found for request" exception when running
multiple queries concurrently.Fixed
Race condition has fixed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-4145
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1218.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1218
----
commit f3e4f78fc96c98f4376ff86ab3e76ba54d6b09a4
Author: sboikov <[email protected]>
Date: 2016-07-26T12:48:36Z
Print debug information on 'waitForRent' timeout.
(cherry picked from commit 7cf26d9)
commit 9d07e3e7a34d1cbe67a9656630bc6215cd213f0a
Author: sboikov <[email protected]>
Date: 2016-07-27T06:19:12Z
ignite-3300 Fixed issue with partition value changing stored in
KeyCacheObject.
(cherry picked from commit a441bb9)
commit 4979c870735698dc51ce2c0db350a0f35c9b8b0e
Author: Andrey Novikov <[email protected]>
Date: 2016-07-27T09:12:39Z
Collector task do not honor node filters for caches and IGFS.
commit 7b3d1963cb7240ce3f59f5c9f81965bf5730bad0
Author: Alexey Kuznetsov <[email protected]>
Date: 2016-07-29T09:03:20Z
Fixed compatibility.
commit 4f27a47b81314b2eb52a5bc5b1d938bb586ae2aa
Author: EdShangGG <[email protected]>
Date: 2016-08-01T17:25:54Z
IGNITE-3513 Cleanup worker is placed in the Thread's waiting queue using
Thread.sleep method
commit ae23dab0af8caaccd3db1dca8e435b57b8844a31
Author: Alexey Kuznetsov <[email protected]>
Date: 2016-08-03T10:10:03Z
Visor: scan cache with filter.
commit a90d05b30f39da001156fdd4053790f8cd352406
Author: Valentin Kulichenko <[email protected]>
Date: 2016-08-04T05:00:15Z
IGNITE-3408 - Provided basic implementation of AddressResolver
commit d945a5dd89b01f05a59e2b02fb86c1007736aff9
Author: Ignite Teamcity <[email protected]>
Date: 2016-08-04T15:37:37Z
version changed to: 1.6.4
commit 00f47d78216db5de75dda2a1b5fef2c1e65d9871
Author: Valentin Kulichenko <[email protected]>
Date: 2016-08-06T01:04:01Z
IGNITE-3634 - SpringCacheManager should support null values
commit 018001011daff723d120834da7b4f57bad7f8f71
Author: tledkov-gridgain <[email protected]>
Date: 2016-05-27T12:16:27Z
IGNITE-2310 Lock cache partition for affinityRun/affinityCall execution
commit b9d9d84f4fcaf7f025b480769b612fc63b5082f4
Author: vozerov-gridgain <[email protected]>
Date: 2016-08-09T11:04:47Z
IGNITE-3659: Added special test suite to handle ignored tests.
commit e23aba4b060a9dfbee20384550a49274a479ac00
Author: vozerov-gridgain <[email protected]>
Date: 2016-08-09T11:05:17Z
Merge remote-tracking branch 'upstream/ignite-1.6.5' into ignite-1.6.5
commit d1a3904c8c8ed4a6cf750a2caa4e2e06cc471698
Author: tledkov-gridgain <[email protected]>
Date: 2016-08-09T13:23:34Z
IGNITE-2310 Lock cache partition for affinityRun/affinityCall execution -
add javadoc for test
commit e1262b2f2f4fb57fa8a75f6008f9e005ad07b5df
Author: Valentin Kulichenko <[email protected]>
Date: 2016-08-09T22:56:49Z
Fixed copy constructor in ConnectorConfiguration
commit 151dfa7878d7d013cd93fac9d627bbdeb1ef8e18
Author: vozerov-gridgain <[email protected]>
Date: 2016-08-10T06:48:29Z
Revert "version changed to: 1.6.4"
This reverts commit d945a5dd89b01f05a59e2b02fb86c1007736aff9.
commit ff3e00caa892a7399622711b620fcb4dcfbbfb56
Author: nikolay_tikhonov <[email protected]>
Date: 2016-08-10T13:21:52Z
IGNITE-3272 Fixed "Memory consumption in ContinuousQueryHandler". This
close #930.
commit 1d0cbb45cd61c5c8e6ec926d7e629eb94111b32f
Author: vd-pyatkov <[email protected]>
Date: 2016-08-11T05:43:50Z
IGNITE-3618: Client can not load data after server restarts. This closes
#941.
commit 1139a9f76b5d37073261d729a15b1fbec674d48d
Author: vozerov-gridgain <[email protected]>
Date: 2016-08-11T05:47:48Z
Added missing license.
commit 0b4ffdbcce63e5ce53572f71af967cff300d5670
Author: vozerov-gridgain <[email protected]>
Date: 2016-08-14T15:18:40Z
IGNITE-2852: Fixed TreeMap and TreeSet serialization.
commit 89bce0fc5cb3dba56626c7088e607d0b25c3353c
Author: vozerov-gridgain <[email protected]>
Date: 2016-06-30T10:14:16Z
IGNITE-3021: IGFS: Fixed failiing
IgfsStreamsSelfTest.testCreateFileColocated() test. Failure as caused by
misconfiguration.
commit 78aa065b4c7b05381b1fa31159b74969ec4a2bfe
Author: vozerov-gridgain <[email protected]>
Date: 2016-07-21T10:15:35Z
IGNITE-826: Removed HadoopHashMapSelfTest.testAllocation() as it tested
nothing.
commit f87ca482420fc1e6ffcb000a227717142d24e270
Author: vozerov-gridgain <[email protected]>
Date: 2016-07-21T10:15:41Z
IGNITE-826: Removed HadoopHashMapSelfTest.testAllocation() as it tested
nothing.
commit 9ddf9d846f52a4e8fc433643409993884c70ce37
Author: vozerov-gridgain <[email protected]>
Date: 2016-07-21T13:00:45Z
IGNITE-466: IGFS: Added "IgfsMode mode(IgfsPath)" method.
commit dc81069ba9ebb88bc11cf6917e8733cc1f6de2fb
Author: Ivan Veselovskiy <[email protected]>
Date: 2016-08-02T08:11:24Z
IGNITE-3343: IGFS: Secondary file system is not queried for statuses during
MKDIRS and CREATE operations. This closes #896.
commit ae54e36f27719f46d1d276f62a977c3f8d053b44
Author: tledkov-gridgain <[email protected]>
Date: 2016-08-04T14:04:41Z
IGNITE-3331 IGFS: Route client tasks to primary node when metadata
co-location is enabled. This closes #921.
commit 970137b1db7dc6c5e546581e22e428ae15c86513
Author: vozerov-gridgain <[email protected]>
Date: 2016-08-05T12:05:32Z
IGNITE-3631: IGFS: Now metadata co-location is used for PARTITIONED cache
as well.
commit 4d876a7560060c892908da447178e97bfe12ca9c
Author: vozerov-gridgain <[email protected]>
Date: 2016-08-05T12:05:43Z
IGNITE-3631: IGFS: Now metadata co-location is used for PARTITIONED cache
as well.
commit f5a040a01280c654df1fc4789cc39ff1ac2d32a4
Author: tledkov-gridgain <[email protected]>
Date: 2016-08-09T07:01:56Z
IGNITE-3332: IGFS: Optimized file unlock routine with help of a client
callable. This closes #916.
commit 5cf3bea32a25ccc78641f083aa7f1ac81b4187ba
Author: vozerov-gridgain <[email protected]>
Date: 2016-08-15T10:40:41Z
IGNITE-1926: IGFS: Implemented local secondary file system.
commit 278633eced6d8039b5be4a18eefe6c65650aba4f
Author: Yakov Zhdanov <[email protected]>
Date: 2016-08-15T11:27:22Z
IGNITE-3688: Fixed visiblity issue in GridCacheIoManager.idxClsHandlers.
----
> "No query result found for request" exception when running multiple queries
> concurrently.
> -----------------------------------------------------------------------------------------
>
> Key: IGNITE-4145
> URL: https://issues.apache.org/jira/browse/IGNITE-4145
> Project: Ignite
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.7
> Reporter: Vladimir Ozerov
> Assignee: Andrew Mashenkov
> Fix For: 1.8
>
>
> When many queries are executed simultaneously in multi-node cluster, the
> following exception might appear from time to time:
> {code}
> Exception in thread "qry-exec-20" javax.cache.CacheException: Failed to fetch
> data from node: 3432842f-2fa2-44b9-b69b-cadba286d317
> at
> org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor$3.fetchNextPage(GridReduceQueryExecutor.java:298)
> at
> org.apache.ignite.internal.processors.query.h2.twostep.GridMergeIndex.fetchNextPage(GridMergeIndex.java:229)
> at
> org.apache.ignite.internal.processors.query.h2.twostep.GridMergeIndexUnsorted$1.hasNext(GridMergeIndexUnsorted.java:106)
> at
> org.apache.ignite.internal.processors.query.h2.twostep.GridMergeIndex$IteratorCursor.next(GridMergeIndex.java:351)
> at
> org.apache.ignite.internal.processors.query.h2.twostep.GridMergeIndex$FetchingCursor.next(GridMergeIndex.java:382)
> at
> org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:640)
> at
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$4.iterator(IgniteH2Indexing.java:1057)
> at
> org.apache.ignite.internal.processors.cache.QueryCursorImpl.iterator(QueryCursorImpl.java:81)
> at
> org.apache.ignite.yardstick.ringcentral.AdgRunner$QueryExecutor.run(AdgRunner.java:394)
> at java.lang.Thread.run(Thread.java:745)
> Suppressed: javax.cache.CacheException: Failed to execute map query on
> the node: c51bc4f2-7038-4df6-88a9-eb87506c2f86, class
> javax.cache.CacheException:No query result found for request:
> GridQueryNextPageRequest [qryReqId=93, qry=0, pageSize=1024]
> at
> org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.fail(GridReduceQueryExecutor.java:259)
> at
> org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.onFail(GridReduceQueryExecutor.java:249)
> at
> org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.onMessage(GridReduceQueryExecutor.java:230)
> at
> org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor$1.onMessage(GridReduceQueryExecutor.java:178)
> at
> org.apache.ignite.internal.managers.communication.GridIoManager$ArrayListener.onMessage(GridIoManager.java:1900)
> at
> org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1080)
> at
> org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:708)
> at
> org.apache.ignite.internal.managers.communication.GridIoManager.access$1700(GridIoManager.java:101)
> at
> org.apache.ignite.internal.managers.communication.GridIoManager$5.run(GridIoManager.java:671)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> ... 1 more
> {code}
> Quick analysis shows that next-page request could possibly arrive before
> original query message is processed. Need to confirm it with deeper debugging
> first.
> The best way to reproduce it:
> 1) Generate some data
> 2) Start several data nodes (e.g. 4)
> 3) Start client node
> 4) Concurrently execute multiple SQL queries from the client in different
> threads.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)