trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prashanth-vasudev <>
Subject [GitHub] incubator-trafodion pull request #885: [TRAFODION-2414] enhance 8616 commit ...
Date Thu, 22 Dec 2016 00:43:39 GMT
GitHub user prashanth-vasudev opened a pull request:

    [TRAFODION-2414] enhance 8616 commit conflict error message to include tx conflict details

    commit conflict error detail is available in the region.
    This error is raised as a commit conflict exception and carried back to
    transaction manager and further back to sql client. 
    Careful attention is given to make sure TM behaviour does not change
    by making sure to the error codes continue to be returned along with 
    new exception strings.   
    Current set of change takes are of multi region transaction. 
    Additional change will be checked in to support single region transactions.
    Error message looks like this:
    >>commit work;
    *** ERROR[8616] A conflict was detected during commit processing. Transaction has been
aborted. Detail :org.trafodion.dtm.TransactionManagerException: org.apache.hadoop.hbase.coprocessor.transactional.CommitConflictException: Transaction [[transactionId: 17114 regionTX: false status: PENDING scan
Size: 2 write Size: 1 startSQ: 2]] has scan which conflicts with [[transactionId: 1554366944090715
regionTX: true status: COMMITED scan Size: 2 write Size: 1 startSQ: 2 commitedSQ:2]]: region
[TRAFODION.SCH.T116T6,,1482359816577.c4a43321f6a96035c3deeb0d85e55ccb.], scanRange[startRow:
\x80\x00\x00\x01, endRow: \x80\x00\x00\x01], inserted row[\x80\x00\x00\x01]

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

    $ git pull tmErrMsg

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #885
commit 4a63d90d929a25940044d1a44f4e26dd6016c9cf
Author: Prashant Vasudev <>
Date:   2016-12-21T23:50:12Z

    [TRAFODION-2414] enhance 8616 commit conflict error message to include tx conflict details.


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 or file a JIRA ticket
with INFRA.

View raw message