[ https://issues.apache.org/jira/browse/IGNITE-13379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17182168#comment-17182168 ]
Ignite TC Bot commented on IGNITE-13379: ---------------------------------------- {panel:title=Branch: [pull/8178/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel} {panel:title=Branch: [pull/8178/head] Base: [master] : New Tests (2)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1} {color:#00008b}PDS (Indexing){color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=5557968]] * {color:#013220}IgnitePdsWithIndexingTestSuite: ClientReconnectWithSqlTableConfiguredTest.testCahceInOneGroup - PASSED{color} * {color:#013220}IgnitePdsWithIndexingTestSuite: ClientReconnectWithSqlTableConfiguredTest.testCahceInDifferentGroups - PASSED{color} {panel} [TeamCity *--> Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5558009&buildTypeId=IgniteTests24Java8_RunAll] > Exception occur on SQL caches when client reconnect > --------------------------------------------------- > > Key: IGNITE-13379 > URL: https://issues.apache.org/jira/browse/IGNITE-13379 > Project: Ignite > Issue Type: Bug > Reporter: Vladislav Pyatkov > Assignee: Vladislav Pyatkov > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > When client started only subset of all cluster caches, it can have issues on > reconnect. > If cache isn't started on client, it still registered some SQL structures: > {{GridQueryProcessor#initQueryStructuresForNotStartedCache}} > but these structures are not cleared on disconnect: > {{GridCacheProcessor#onReconnected}} > This leads to exception on reconnect: > {noformat} > class org.apache.ignite.IgniteCheckedException: Type with name 'Timestamp' > already indexed in cache 'TEST_CACHE2'. > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.registerCache0(GridQueryProcessor.java:1712) > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart0(GridQueryProcessor.java:834) > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.onCacheStart(GridQueryProcessor.java:911) > at > org.apache.ignite.internal.processors.query.GridQueryProcessor.initQueryStructuresForNotStartedCache(GridQueryProcessor.java:889) > at > org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.processCacheStartRequests(CacheAffinitySharedManager.java:968) > at > org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:857) > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClusterStateChangeRequest(GridDhtPartitionsExchangeFuture.java:1205) > at > org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:850) > at > org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:3258) > at > org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:3104) > at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:119) > at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)