You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2020/08/04 12:00:00 UTC

[jira] [Commented] (IGNITE-13175) NPE due to race on cache stop and transaction commit.

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

Ignite TC Bot commented on IGNITE-13175:
----------------------------------------

{panel:title=Branch: [pull/8075/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/8075/head] Base: [master] : New Tests (66)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}PDS (Indexing){color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5485870]]
* {color:#013220}IgnitePdsWithIndexingCoreTestSuite: IgniteCacheGroupsWithRestartsTest.testCleaningGarbageAfterCacheDestroyedAndNodeStop_ControlConsoleUtil - PASSED{color}

{color:#00008b}Cache 7{color} [[tests 53|https://ci.ignite.apache.org/viewLog.html?buildId=5485861]]
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite: GridCommandHandlerMetadataTest.testMetadataDetails - PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite: GridCommandHandlerMetadataTest.testMetadataList - PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite: GridCommandHandlerIndexingCheckSizeTest.testNoErrorOnCacheWithQueryEntity - PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite: GridCommandHandlerIndexingTest.testCorruptedIndexPartitionShouldFailValidationWithCrc - PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite: GridCommandHandlerIndexingTest.testCorruptedIndexPartitionShouldFailValidationWithoutCrc - PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite: GridCommandHandlerIndexingClusterByClassTest.testValidateIndexesWithCrcNoErrors - PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite: GridCommandHandlerMetadataTest.testDropJdbcThinConnectionsOnRemove - PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite: GridCommandHandlerIndexingClusterByClassWithSSLTest.testCheckIndexInlineSizesNoError - PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite: GridCommandHandlerIndexingClusterByClassTest.testBrokenCacheDataTreeShouldFailValidationWithCacheGroupInfo - PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite: GridCommandHandlerIndexingClusterByClassTest.testValidateIndexesNoErrors - PASSED{color}
* {color:#013220}IgniteCacheWithIndexingAndPersistenceTestSuite: GridCommandHandlerIndexingClusterByClassTest.testBrokenCacheDataTreeShouldFailValidation - PASSED{color}
... and 42 new tests

{color:#00008b}Basic 1{color} [[tests 10|https://ci.ignite.apache.org/viewLog.html?buildId=5485835]]
* {color:#013220}IgniteBasicTestSuite: CommandHandlerParsingTest.testParseAutoConfirmationFlag - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: CommandHandlerParsingTest.testParseAndValidateWalActions - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: CommandHandlerParsingTest.testTransactionArguments - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: CommandHandlerParsingTest.testValidateIndexArguments - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: CommandHandlerParsingTest.testConnectionSettings - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: CommandHandlerParsingTest.testParseAndValidateUserAndPassword - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: CommandHandlerParsingTest.testParseAndValidateSSLArguments - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: CommandHandlerParsingTest.testFindAndDeleteGarbage - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: CommandHandlerParsingTest.testParseVerboseOption - PASSED{color}
* {color:#013220}IgniteBasicTestSuite: CommandHandlerParsingTest.testKillArguments - PASSED{color}

{color:#00008b}Security{color} [[tests 2|https://ci.ignite.apache.org/viewLog.html?buildId=5485904]]
* {color:#013220}SecurityTestSuite: MultipleSSLContextsTest.testConnector - PASSED{color}
* {color:#013220}SecurityTestSuite: GridCommandHandlerSslWithSecurityTest.testInputKeyTrustStorePwdOnlyOnce - PASSED{color}

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5485911&amp;buildTypeId=IgniteTests24Java8_RunAll]

> NPE due to race on cache stop and transaction commit.
> -----------------------------------------------------
>
>                 Key: IGNITE-13175
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13175
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.7
>            Reporter: Alexand Polyakov
>            Assignee: Maria Makedonskaya
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> If don't stop load and execute stop cache, sometimes throw NullPointerException and nodes failed
> {code}
> java.lang.NullPointerException: null
>         at org.apache.ignite.internal.binary.BinaryObjectImpl.finishUnmarshal(BinaryObjectImpl.java:190)
>         at org.apache.ignite.internal.processors.cache.transactions.TxEntryValueHolder.unmarshal(TxEntryValueHolder.java:154)
>         at org.apache.ignite.internal.processors.cache.transactions.IgniteTxEntry.unmarshal(IgniteTxEntry.java:971)
>         at org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler.unmarshal(IgniteTxHandler.java:354)
>         at org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler.prepareNearTx(IgniteTxHandler.java:403)
>         at org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler.prepareNearTx(IgniteTxHandler.java:386)
>         at org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler.processNearTxPrepareRequest0(IgniteTxHandler.java:188)
>         at org.apache.ignite.internal.processors.cache.transactions.IgniteTxHandler.lambda$null$0(IgniteTxHandler.java:644)
>         at org.apache.ignite.internal.util.StripedExecutor$Stripe.body(StripedExecutor.java:559)
>         at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:119)
>         at java.lang.Thread.run(Thread.java:748)
> {code}
> transaction use cache context race with stopCache
> {code:java}
> 	at org.apache.ignite.internal.processors.cache.GridCacheContext.cleanup(GridCacheContext.java:2058)
> 	at org.apache.ignite.internal.processors.cache.GridCacheProcessor.cleanup(GridCacheProcessor.java:467)
> 	at org.apache.ignite.internal.processors.cache.GridCacheProcessor.stopCache(GridCacheProcessor.java:1020)
> 	at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStop(GridCacheProcessor.java:2539)
> 	at org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStop(GridCacheProcessor.java:2518)
> {code}
> there is a reproducer who adds CountDownLatch await to IgniteTxEntry#unmarshal which is countDown in GridCacheContext#cleanup
> https://github.com/gridgain/gridgain/tree/sdsb-11837



--
This message was sent by Atlassian Jira
(v8.3.4#803005)