ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-10406) .NET Failed to run ScanQuery with custom filter after server node restart
Date Mon, 03 Dec 2018 20:29:00 GMT

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

ASF GitHub Bot commented on IGNITE-10406:
-----------------------------------------

GitHub user ptupitsyn opened a pull request:

    https://github.com/apache/ignite/pull/5561

    IGNITE-10406 .NET: Reset writer structures on reconnect

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ptupitsyn/ignite ignite-10406

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/5561.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 #5561
    
----
commit 083fef611d35f78ca0a7bdfa3f7cf8ab1f25d314
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-11-27T14:37:24Z

    IGNITE-10406 .NET Failed to run ScanQuery with custom filter after server node restart
- add test

commit c3d48ebf25e46b1b18c5b3c69f50250898c12958
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-01T14:30:11Z

    TODOs

commit ac52623248183b294e4b1d3e0b35304680a8286a
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-01T14:35:13Z

    TODOs

commit ca9c0c4a985ccf24a3fc93d68bb9cc861f829708
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-01T14:45:16Z

    Add test for non-empty filter

commit 53137ad302cea7fb01677f582b914daf5c4acb53
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-01T14:46:52Z

    Add test for non-empty filter

commit 194a3316e23d502a1bb8fa3942a788450c44a579
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-01T14:51:00Z

    Add test for non-empty filter

commit 431aa95a3f88a0163888cbfcbad9edbf323fd614
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T17:57:26Z

    update TODOs

commit 5dd95b5d8ed94335ae0f63047c73622dbfae691d
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T18:27:15Z

    update TODOs

commit 439cf575070c78aa2bac052197c14545c37408b7
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T18:37:22Z

    Add TODO

commit 5bca7238233a0e269d836c66081c7a9b5a5f9fa8
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T18:40:10Z

    Cleanup test code

commit 7f5c5d50e2d25543295b8a168ba855a9da4b5715
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T18:40:51Z

    Revert unrelated changes

commit 6488156700c5fd44c1cf74d4671394f40c51074b
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T18:48:41Z

    Cleanup

commit 0c5a43b12918e8089ad37ad2fcd897b7cab8fbd6
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T19:00:14Z

    Implement writer structure reset

commit 0892d9e97bccdf41a38fe01a42354e78f903aae9
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T19:05:32Z

    Implement writer structure reset

commit ad80b6a9ac803eabd28b098fea61f86720158058
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T19:07:25Z

    Implement writer structure reset

commit 3b77263c72692e6930e74eb11be59181d6f0c3d6
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T19:09:56Z

    Fix tests

commit a5b20c139ad8216dac735cb846a5e4c3562808df
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T19:10:37Z

    Fix tests

commit cf912013547f128e84c17dbafb0f327549c6d4a7
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T19:41:49Z

    TODOs

commit d5faccd7d8b6055581649a9717e867cd76974d21
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T19:49:29Z

    TODOs and cleanup

commit 4606c7f55233f4005a8c2f75552e2ac1df292f4c
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T19:56:33Z

    Adding concurrency test

commit eea92638bf64dc2aa1013e041e5635c938ec2198
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T20:00:56Z

    Adding concurrency test

commit eda2a0a256b44e8a6dc0ed28498e677fd3159d48
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T20:01:14Z

    Adding concurrency test

commit 1c73a3fe9c70cb28fb1a7b36e56711f20fb57925
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T20:03:01Z

    Adding concurrency test

commit 4ce52f7f6a46eba00bc8eeb79a3256b67f307644
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T20:03:48Z

    Adding concurrency test

commit f46cc5cd01b96ead5136c8e3380766abcc5c303d
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T20:15:00Z

    Adding concurrency test

commit 244229cfd4d1be52670ccb32097515e06fc8da38
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T20:25:46Z

    Add concurrency assumptions

commit f104a6e419445adea972b9f300730bf9094109be
Author: Pavel Tupitsyn <ptupitsyn@...>
Date:   2018-12-03T20:27:30Z

    Merge remote-tracking branch 'origin/master' into ignite-10406

----


> .NET Failed to run ScanQuery with custom filter after server node restart
> -------------------------------------------------------------------------
>
>                 Key: IGNITE-10406
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10406
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>    Affects Versions: 2.5, 2.6
>            Reporter: Ivan Daschinskiy
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: .net
>             Fix For: 2.8
>
>         Attachments: CacheQueriesWithRestartServerTest.cs
>
>
> Scenario:
> 1. Start server
> 2. Start client.
> 3. Restart server and wait for client reconnects the server.
> 4. Put some data to cache and run ScanQuery with custom filter
>  
> StackTrace:
> {code:java}
> class org.apache.ignite.IgniteCheckedException: Failed to inject resource [method=setIgniteInstance,
target=org.apache.ignite.internal.processors.platform.cache.PlatformCacheEntryFilterImpl@6225c21c,
rsrc=IgniteKernal [cfg=IgniteConfiguration [igniteInstanceName=CashflowCluster, pubPoolSize=8,
svcPoolSize=8, callbackPoolSize=8, stripedPoolSize=8, sysPoolSize=8, mgmtPoolSize=4, igfsPoolSize=4,
dataStreamerPoolSize=8,
>  utilityCachePoolSize=8, utilityCacheKeepAliveTime=60000, p2pPoolSize=2, qryPoolSize=8,
igniteHome=C:\Job\fd-tasks\7404\IgniteTests2\packages\Apache.Ignite.2.6.0, igniteWorkDir=C:\Job\fd-tasks\7404\IgniteTests2\packages\Apache.Ignite.2.6.0\work,
mbeanSrv=com.sun.jmx.mbeanserver.JmxMBeanServer@49993335, nodeId=3f4aadd9-01b3-4ffe-b629-895fb6ac886f,
marsh=org.apache.ignite.internal.binary.BinaryMarshaller@77a57272, mar
> shLocJobs=false, daemon=false, p2pEnabled=false, netTimeout=5000, sndRetryDelay=1000,
sndRetryCnt=3, metricsHistSize=10000, metricsUpdateFreq=2000, metricsExpTime=9223372036854775807,
discoSpi=TcpDiscoverySpi [addrRslvr=null, sockTimeout=5000, ackTimeout=5000, marsh=JdkMarshaller
[clsFilter=org.apache.ignite.marshaller.MarshallerUtils$1@65b1c1e3], reconCnt=10, reconDelay=2000,
maxAckTimeout=600000, forceSrvMode=fals
> e, clientReconnectDisabled=false, internalLsnr=null], segPlc=STOP, segResolveAttempts=2,
waitForSegOnStart=true, allResolversPassReq=true, segChkFreq=10000, commSpi=TcpCommunicationSpi
[connectGate=org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$ConnectGateway@4737110c,
connPlc=org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$6@bce0ed4, enableForcibleNodeKill=false,
enableTroubleshootingLog=fa
> lse, srvLsnr=org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$2@11c20519,
locAddr=null, locHost=0.0.0.0/0.0.0.0, locPort=47100, locPortRange=100, shmemPort=-1, directBuf=true,
directSndBuf=false, idleConnTimeout=600000, connTimeout=5000, maxConnTimeout=600000, reconCnt=10,
sockSndBuf=32768, sockRcvBuf=32768, msgQueueLimit=0, slowClientQueueLimit=0, nioSrvr=GridNioServer
[selectorSpins=0, filterChain=Filte
> rChain[filters=[GridNioCodecFilter [parser=org.apache.ignite.internal.util.nio.GridDirectParser@6839fd4e,
directMode=true], GridConnectionBytesVerifyFilter], lsnr=org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$2@11c20519,
closed=false, directBuf=true, tcpNoDelay=true, sockSndBuf=32768, sockRcvBuf=32768, writeTimeout=2000,
idleTimeout=600000, skipWrite=false, skipRead=false, locAddr=0.0.0.0/0.0.0.0:47100
> , order=LITTLE_ENDIAN, sndQueueLimit=0, directMode=true, metricsLsnr=org.apache.ignite.spi.communication.tcp.TcpCommunicationMetricsListener@4e41089d,
sslFilter=null, msgQueueLsnr=null, readerMoveCnt=0, writerMoveCnt=0, readWriteSelectorsAssign=false],
shmemSrv=null, usePairedConnections=false, connectionsPerNode=1, tcpNoDelay=true, filterReachableAddresses=false,
ackSndThreshold=32, unackedMsgsBufSize=0, sockWriteT
> imeout=2000, lsnr=org.apache.ignite.internal.managers.communication.GridIoManager$2@432d2e4e,
boundTcpPort=47100, boundTcpShmemPort=-1, selectorsCnt=4, selectorSpins=0, addrRslvr=null,
ctxInitLatch=java.util.concurrent.CountDownLatch@70beb599[Count = 0], stopping=false, metricsLsnr=org.apache.ignite.spi.communication.tcp.TcpCommunicationMetricsListener@4e41089d],
evtSpi=org.apache.ignite.spi.eventstorage.NoopEventSt
> orageSpi@32a068d1, colSpi=NoopCollisionSpi [], deploySpi=LocalDeploymentSpi [lsnr=org.apache.ignite.internal.managers.deployment.GridDeploymentLocalStore$LocalDeploymentListener@3c6df856],
indexingSpi=org.apache.ignite.spi.indexing.noop.NoopIndexingSpi@282003e1, addrRslvr=null,
clientMode=false, rebalanceThreadPoolSize=1, txCfg=org.apache.ignite.configuration.TransactionConfiguration@7fad8c79,
cacheSanityCheckEnable
> d=true, discoStartupDelay=60000, deployMode=SHARED, p2pMissedCacheSize=100, locHost=null,
timeSrvPortBase=31100, timeSrvPortRange=100, failureDetectionTimeout=10000, clientFailureDetectionTimeout=30000,
metricsLogFreq=60000, hadoopCfg=null, connectorCfg=org.apache.ignite.configuration.ConnectorConfiguration@71a794e5,
odbcCfg=null, warmupClos=null, atomicCfg=AtomicConfiguration [seqReserveSize=1000, cacheMode=PARTITI
> ONED, backups=1, aff=null, grpName=null], classLdr=null, sslCtxFactory=null, platformCfg=PlatformDotNetConfiguration
[binaryCfg=null], binaryCfg=null, memCfg=null, pstCfg=null, dsCfg=DataStorageConfiguration
[sysRegionInitSize=41943040, sysCacheMaxSize=104857600, pageSize=4096, concLvl=0, dfltDataRegConf=DataRegionConfiguration
[name=default, maxSize=3405547110, initSize=268435456, swapPath=null, pageEvictionMode=DI
> SABLED, evictionThreshold=0.9, emptyPagesPoolSize=100, metricsEnabled=false, metricsSubIntervalCount=5,
metricsRateTimeInterval=60000, persistenceEnabled=false, checkpointPageBufSize=0], storagePath=null,
checkpointFreq=180000, lockWaitTime=10000, checkpointThreads=4, checkpointWriteOrder=SEQUENTIAL,
walHistSize=20, walSegments=10, walSegmentSize=67108864, walPath=db/wal, walArchivePath=db/wal/archive,
metricsEnable
> d=false, walMode=LOG_ONLY, walTlbSize=131072, walBuffSize=0, walFlushFreq=2000, walFsyncDelay=1000,
walRecordIterBuffSize=67108864, alwaysWriteFullPages=false, fileIOFactory=org.apache.ignite.internal.processors.cache.persistence.file.AsyncFileIOFactory@1dd02175,
metricsSubIntervalCnt=5, metricsRateTimeInterval=60000, walAutoArchiveAfterInactivity=-1,
writeThrottlingEnabled=false, walCompactionEnabled=false], active
> OnStart=true, autoActivation=true, longQryWarnTimeout=3000, sqlConnCfg=null, cliConnCfg=ClientConnectorConfiguration
[host=null, port=10800, portRange=100, sockSndBufSize=0, sockRcvBufSize=0, tcpNoDelay=true,
maxOpenCursorsPerConn=128, threadPoolSize=8, idleTimeout=0, jdbcEnabled=true, odbcEnabled=true,
thinCliEnabled=true, sslEnabled=false, useIgniteSslCtxFactory=true, sslClientAuth=false, sslCtxFactory=null],
auth
> Enabled=false, failureHnd=null, commFailureRslvr=null], igniteInstanceName=CashflowCluster,
startTime=1543228541082, rsrcCtx=null, reconnectState=org.apache.ignite.internal.IgniteKernal$ReconnectState@472ee9a1]]
>         at org.apache.ignite.internal.processors.resource.GridResourceUtils.inject(GridResourceUtils.java:88)
>         at org.apache.ignite.internal.processors.resource.GridResourceBasicInjector.inject(GridResourceBasicInjector.java:59)
>         at org.apache.ignite.internal.processors.resource.GridResourceIoc$ClassDescriptor.injectInternal(GridResourceIoc.java:446)
>         at org.apache.ignite.internal.processors.resource.GridResourceIoc$ClassDescriptor.inject(GridResourceIoc.java:470)
>         at org.apache.ignite.internal.processors.resource.GridResourceProcessor.inject(GridResourceProcessor.java:278)
>         at org.apache.ignite.internal.processors.resource.GridResourceProcessor.inject(GridResourceProcessor.java:162)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.injectResources(GridCacheQueryManager.java:884)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.scanIterator(GridCacheQueryManager.java:809)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.executeQuery(GridCacheQueryManager.java:592)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.queryResult(GridCacheQueryManager.java:1494)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheQueryManager.runQuery(GridCacheQueryManager.java:1130)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager.processQueryRequest(GridCacheDistributedQueryManager.java:230)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager$2.apply(GridCacheDistributedQueryManager.java:108)
>         at org.apache.ignite.internal.processors.cache.query.GridCacheDistributedQueryManager$2.apply(GridCacheDistributedQueryManager.java:106)
>         at org.apache.ignite.internal.processors.cache.GridCacheIoManager.processMessage(GridCacheIoManager.java:1054)
>         at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMessage0(GridCacheIoManager.java:579)
>         at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:378)
>         at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handleMessage(GridCacheIoManager.java:304)
>         at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access$100(GridCacheIoManager.java:99)
>         at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMessage(GridCacheIoManager.java:293)
>         at org.apache.ignite.internal.managers.communication.GridIoManager.invokeListener(GridIoManager.java:1556)
>         at org.apache.ignite.internal.managers.communication.GridIoManager.processRegularMessage0(GridIoManager.java:1184)
>         at org.apache.ignite.internal.managers.communication.GridIoManager.access$4200(GridIoManager.java:125)
>         at org.apache.ignite.internal.managers.communication.GridIoManager$9.run(GridIoManager.java:1091)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.apache.ignite.internal.processors.resource.GridResourceUtils.inject(GridResourceUtils.java:85)
>         ... 26 more
> Caused by: class org.apache.ignite.IgniteException: Cannot find schema for object with
compact footer [typeId=283075424, schemaId=-1794545082]
>         at org.apache.ignite.internal.processors.platform.callback.PlatformCallbackUtils.inLongOutLong(Native
Method)
>         at org.apache.ignite.internal.processors.platform.callback.PlatformCallbackGateway.cacheEntryFilterCreate(PlatformCallbackGateway.java:128)
>         at org.apache.ignite.internal.processors.platform.cache.PlatformCacheEntryFilterImpl.setIgniteInstance(PlatformCacheEntryFilterImpl.java:105)
>         ... 31 more
> {code}
> Reproducer is attached



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message