GitHub user twdsilva opened a pull request:

    https://github.com/apache/phoenix/pull/126

    PHOENIX-1674 Snapshot isolation transaction support through Tephra

    PR that implements support for transactions using Tephra.
    
    @JamesRTaylor  @elilevine  @jfernandosf  @samarthjain  @mujtabachohan 

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

    $ git pull https://github.com/apache/phoenix txn

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

    https://github.com/apache/phoenix/pull/126.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 #126
    
----
commit a22b4c073c72820979576521c3942bc5affe1c50
Author: James Taylor <[email protected]>
Date:   2015-03-10T00:34:57Z

    Add dependency on Tephra

commit 00976e81be1e543e9055b996ad76c09bd8f39b12
Author: Thomas D'Silva <[email protected]>
Date:   2015-03-10T04:33:27Z

    Update pom dependencies to include tephra

commit 995e352c6971fc51888a25bfd0a5b7b737eee958
Author: James Taylor <[email protected]>
Date:   2015-03-10T23:34:05Z

    Basic configuration of a transactional table

commit 8119bee5787dc2973d9a1ea34a577984842fbab5
Author: James Taylor <[email protected]>
Date:   2015-03-11T23:24:19Z

    Store whether or not a table is transactional in SYSTEM.CATALOG instead of 
in HTableDescriptor

commit 52c1d4550c87e75bbc9cd5661252694b7db329a0
Author: James Taylor <[email protected]>
Date:   2015-03-11T23:34:28Z

    Add TRANSACTIONAL table to SYSTEM.CATALOG table conditionally for b/w compat

commit 3d9c786edd115a37de6f027016f460159ef2fe33
Author: James Taylor <[email protected]>
Date:   2015-03-11T23:59:26Z

    Turn off optimization preventing data roundtrip for UPSERT SELECT and 
DELETE when transactional

commit d49c3bf6f3c25f8ec35659e18d345a3c17281154
Author: Thomas D'Silva <[email protected]>
Date:   2015-03-12T00:47:44Z

    Modify MutationState commit to use transactions

commit bd271b214dab942631798ea77688e51f9442ef18
Author: Thomas D'Silva <[email protected]>
Date:   2015-03-12T07:46:33Z

    Moved TransactionContext from MutationState to PhoenixConnection

commit be8836662a9401ed3ad1289d89b14e84b6ec52c8
Author: James Taylor <[email protected]>
Date:   2015-03-12T21:52:11Z

    Disallow mutations if CURRENT_SCN and transactional table, add dummy method 
to access TransactionContext from PhoenixConnection, commenting out 
initialization of TransactionServiceClient as it needs to move to 
ConnectionQueryServicesImpl instead

commit 8d5e3691bf63e03aec4c86a9d009f5592c1aede4
Author: James Taylor <[email protected]>
Date:   2015-03-12T22:05:10Z

    Transaction util class

commit d1c2306daa6a3f93abeff0d5f8d177eb79ad5162
Author: James Taylor <[email protected]>
Date:   2015-03-12T23:47:55Z

    Start txn on first stmt exec

commit 8388dd37ffe1e46dcaaad0a5586f2deb96d5847c
Author: Thomas D'Silva <[email protected]>
Date:   2015-03-12T22:42:38Z

    Added basic test for transactions

commit ed54b2929fba144a34f0f8cc8f865da1f5686a6c
Author: Thomas D'Silva <[email protected]>
Date:   2015-03-12T23:48:34Z

    Updated pom.xml to use tephra 0.4.1 and guava 13.0.1

commit b5e9396de33692991c83f275b61ec44460db674a
Author: Thomas D'Silva <[email protected]>
Date:   2015-03-13T00:36:40Z

    Added test that detects write conflicts

commit 8911fdbccac60a191add0a7d190bb574846b7470
Author: Thomas D'Silva <[email protected]>
Date:   2015-03-13T00:57:57Z

    Added TransactionIT

commit 28da96e9c5c38a95c9a2930b845466c861eedfa6
Author: James Taylor <[email protected]>
Date:   2015-03-13T01:12:34Z

    Differentiate txn conflict from other txn exceptions

commit aaf8b4fe6cc24276b7efd5e44529db27e74a21f8
Author: Thomas D'Silva <[email protected]>
Date:   2015-03-13T01:30:59Z

    Use row level conflict detection

commit 0d44dd806bf0473a7d1884fab5c3e9841f0baf9d
Author: Thomas D'Silva <[email protected]>
Date:   2015-03-13T22:46:11Z

    More pom changes

commit 826ebf5ce741342ed1c758e594ca01bc9cb8e036
Author: James Taylor <[email protected]>
Date:   2015-03-25T18:54:44Z

    Push transaction state to server for secondary indexing

commit 5a558e16cd7b1e882b274683aff6b655f952dac1
Author: James Taylor <[email protected]>
Date:   2015-03-27T17:35:37Z

    Secondary indexing with txns

commit 0c0dbb56c06582ff6398f651f3a945d845b9d432
Author: Thomas <[email protected]>
Date:   2015-04-01T22:57:48Z

    Fix NPE in PhoenixIndexCodec.getIndexUpdates()

commit ab6fac2b1c7458ca03395b2420b0c241c7a36b98
Author: Thomas D'Silva <[email protected]>
Date:   2015-04-02T19:23:47Z

    Fix for UPSERT with autocommit

commit a39b62793498f4978de978c6fae5d5df8527dcb6
Author: Thomas D'Silva <[email protected]>
Date:   2015-04-07T02:06:10Z

    Set PhoenixIndexCodec.isEnabled() correctly

commit e9b509dd88c25c7538e3b1af2d1a274362f45af2
Author: Thomas <[email protected]>
Date:   2015-04-08T04:21:59Z

    Test fixes

commit 0ad5c56754cb6dffdee6591f62686d16ac20e48d
Author: Thomas <[email protected]>
Date:   2015-04-08T18:31:56Z

    Fix for AlterTableIT

commit e1521ab059b51a81738e5b9fd8390034dd1b9f1c
Author: James Taylor <[email protected]>
Date:   2015-04-09T07:08:11Z

    PHOENIX-1830 Transactional mutable secondary indexes

commit f844829c82b268f067eee680949dc702a8d9c802
Author: Thomas <[email protected]>
Date:   2015-04-10T04:19:12Z

    Test changes

commit fb489debbb0e98a398f5e819fb1548e56e0b7366
Author: James Taylor <[email protected]>
Date:   2015-04-10T06:41:46Z

    Move txn manager setup to BaseTest, mutable si fixes, don't set scan 
timerange for txnal tables

commit e0494673c123c604d7a223d1f56be517aef60553
Author: Thomas D'Silva <[email protected]>
Date:   2015-04-10T18:18:01Z

    Set QueryServices.DROP_METADATA_ATTRIB in TransactionIT

commit 20cf437fd700f197465f821d4ef027e396259bd6
Author: Thomas <[email protected]>
Date:   2015-04-13T06:32:31Z

    Set TxConstants.ALLOW_EMPTY_VALUES_KEY property so that empty values are 
returned in scans

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to