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/10/17 16:53:00 UTC

[jira] [Commented] (GEODE-7273) Geode transaction should throw TransactionDataNotColocatedException if the transaction is on replicate region then partitioned region

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

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

Commit 07402f794af108efe0db0f0db4e05038682d7bbe in geode's branch refs/heads/feature/GEODE-7273 from Eric Shu
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=07402f7 ]

GEODE-7273: Able to detect not colocated transaction

  * Able to detect not colocated transaction if it is caused by the first operation on a
    replicate region and then on a partitioned region.
  * Make sure transaction host can detect this and throw TransactionDataNotColocatedException.
  * Transaction host will throw appropriate TransactionException based on the operations
    exectued.
  * Remote non host will rely on the TransactionException thrown from the tx host.


> Geode transaction should throw TransactionDataNotColocatedException if the transaction is on replicate region then partitioned region
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-7273
>                 URL: https://issues.apache.org/jira/browse/GEODE-7273
>             Project: Geode
>          Issue Type: Bug
>          Components: transactions
>            Reporter: Eric Shu
>            Assignee: Eric Shu
>            Priority: Major
>              Labels: GeodeCommons
>
> A client transaction should fail with TransactionDataNotColocatedException instead of TransactionDataRebalancedException if transaction worked on the replicate regions first and then worked on an entry in a partitioned region where primary bucket is on another node.
> User should not work on replicate region first in a transaction, but Geode should throw correct exception as well.



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