[ 
https://issues.apache.org/jira/browse/IGNITE-2881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15209317#comment-15209317
 ] 

Kamil Nowak commented on IGNITE-2881:
-------------------------------------

There are a few more potential issues we noticed when using Spi indexing in 
1.5.0.final: 

- method query() in IndexingSpi interface returns Iterator<Cache.Entry<?,?>> 
but elements of type Map.Entry are expected further down the stack (i.e. in 
IgniteCacheProxy:528). We had to create type that extends both Map.Entry and 
Cache.Entry to get it working. 

- when IndexingSpi.store() throws an exception on commit, error is not 
propagated to a client node and transaction ends up with state COMMITTED as if 
no error occured. In a server node transaction state gets marked as UNKNOWN 
though. 

- setters in SpiQuery return SqlQuery type (rather than SpiQuery) which means 
they can't be used in method chaining manner 


> SPI queries not working
> -----------------------
>
>                 Key: IGNITE-2881
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2881
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 1.5.0.final
>            Reporter: Valentin Kulichenko
>            Priority: Blocker
>             Fix For: 1.6
>
>         Attachments: SpiQueryTest.java
>
>
> {{SpiQuery}} functionality looks completely broken right now, any query 
> execution fails with the exception shown below. Also I didn't find a single 
> test for it, they should be added.
> I'm attaching the simple example that reproduce the issue.
> {noformat}
> Caused by: class org.apache.ignite.IgniteCheckedException: Received next page 
> request after iterator was removed. Consider increasing maximum number of 
> stored iterators (see GridCacheConfiguration.getMaximumQueryIteratorCount() 
> configuration property).
>       at 
> org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.executeFieldsQuery(GridCacheQueryManager.java:666)
>       at 
> org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.runFieldsQuery(GridCacheQueryManager.java:1168)
>       ... 7 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to