You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/16 15:33:00 UTC

[jira] [Commented] (GEODE-6651) NPE for transaction read in partition regions with detectReadConflicts

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

ASF subversion and git services commented on GEODE-6651:
--------------------------------------------------------

Commit c3fb77604f1b2566048e48ce9c8b7383c3b176ef in geode's branch refs/heads/develop from Bruce Schuchardt
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=c3fb776 ]

Merge pull request #3459 from Nordix/feature/GEODE-6651

GEODE-6651: Fixed NPE

> NPE for transaction read in partition regions with detectReadConflicts
> ----------------------------------------------------------------------
>
>                 Key: GEODE-6651
>                 URL: https://issues.apache.org/jira/browse/GEODE-6651
>             Project: Geode
>          Issue Type: Bug
>          Components: transactions
>            Reporter: Mario Ivanac
>            Assignee: Mario Ivanac
>            Priority: Major
>              Labels: SmallFeature
>             Fix For: 1.10.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hi, 
> we are using transactional reads and setting detectReadConflicts to true to ensure Isolation, as it is described in Apache Geode documentation.
> Only read operations are performed in transaction.
> This is working properly for replicated region but not for partitioned region. In the case of partitioned region, when we do the transaction commit we get the following Exception:
> terminate called after throwing an instance of 'apache::geode::client::Exception'
>   what():  java.lang.NullPointerException
>  at org.apache.geode.internal.cache.BucketRegion.getAdjunctReceivers(BucketRegion.java:1957)
>  at org.apache.geode.internal.cache.TXState.attachFilterProfileInformation(TXState.java:566)
>  at org.apache.geode.internal.cache.TXState.commit(TXState.java:478)
>  at org.apache.geode.internal.cache.TXStateProxyImpl.commit(TXStateProxyImpl.java:209)
>  at org.apache.geode.internal.cache.TXManagerImpl.commit(TXManagerImpl.java:409)
>  at org.apache.geode.internal.cache.tier.sockets.command.CommitCommand.commitTransaction(CommitCommand.java:95)
>  at org.apache.geode.internal.cache.tier.sockets.command.CommitCommand.cmdExecute(CommitCommand.java:83)
>  at org.apache.geode.internal.cache.tier.sockets.BaseCommand.execute(BaseCommand.java:172)
>  at org.apache.geode.internal.cache.tier.sockets.ServerConnection.doNormalMessage(ServerConnection.java:844)
>  at org.apache.geode.internal.cache.tier.sockets.OriginalServerConnection.doOneMessage(OriginalServerConnection.java:74)
>  at org.apache.geode.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1214)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at org.apache.geode.internal.cache.tier.sockets.AcceptorImpl.lambda$initializeServerConnectionThreadPool$3(AcceptorImpl.java:594)
>  at org.apache.geode.internal.logging.LoggingThreadFactory.lambda$newThread$0(LoggingThreadFactory.java:121)
>  at java.lang.Thread.run(Thread.java:748)
>  



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